Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parser bug with import in block #4760

Closed
scabug opened this issue Jul 3, 2011 · 4 comments
Closed

parser bug with import in block #4760

scabug opened this issue Jul 3, 2011 · 4 comments

Comments

@scabug
Copy link

scabug commented Jul 3, 2011

object Test {
  // parses
  def f1 = {
    import scala._;
  }
  // b.scala:7: error: ';' expected but '}' found.
  //   }
  //   ^
  // one error found
  def f2 = {
    import scala._
  }
  
  // parses
  def f3 = {
    import scala._
    5
  }
}
@scabug
Copy link
Author

scabug commented Jul 3, 2011

Imported From: https://issues.scala-lang.org/browse/SI-4760?orig=1
Reporter: @paulp

@scabug
Copy link
Author

scabug commented Aug 2, 2011

@paulp said:
See also #4785, which may or may not be the same bug.

@scabug
Copy link
Author

scabug commented May 16, 2013

@JamesIry said:
Still reproducible in 2.10.x

@scabug
Copy link
Author

scabug commented Aug 30, 2013

@som-snytt said:
scala/scala#2899

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants