We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following snippet crashes in Typers with a Stackoverflow:
object Test { trait Matcher[X] { val x: X def foo(): X = { println("foo"); x } } val m = new Matcher { val x = Map():(scala.collection.Map[_, Int] with scala.collection.Map[K,Int] forSome { type K }) } m.foo() }
I discovered this while compiling scalatest. The file that crashes the compiler is: http://scalatest.googlecode.com/svn/branches/cmty2.10/src/test/scala/org/scalatest/matchers/ShouldContainValueSpec.scala
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-6499?orig=1 Reporter: @namin Affected Versions: 2.10.0 Other Milestones: 2.10.0
Sorry, something went wrong.
@xeno-by said: I'm taking a look, but for now I promote this issue to a blocker. Looks like really serious to me.
@paulp said: Minimized:
object Test { Map(): Map[_, Int] with Map[_, Int] }
@xeno-by said: From Nada's report I understood that's a regression, hence the fuss. If it's not let's demote it
@namin said: It is a regression, and a recent one. Paul's minimized snippet compiles fine with 2.9.2 AND 2.10.0-M7 but not with 2.10.0-wip.
@xeno-by said: Also see a discussion here: http://groups.google.com/group/scala-internals/browse_thread/thread/f41d34ae889adda9
@jsuereth said: Paul's commit was merged in scala/scala@ee7f1e8a82
paulp
No branches or pull requests
The following snippet crashes in Typers with a Stackoverflow:
I discovered this while compiling scalatest. The file that crashes the compiler is: http://scalatest.googlecode.com/svn/branches/cmty2.10/src/test/scala/org/scalatest/matchers/ShouldContainValueSpec.scala
The text was updated successfully, but these errors were encountered: