You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error:whilecompiling: ok.scala
current phase: erasure
library version: version 2.10.0-20120320-074449-d9d46a8bbb
compiler version: version 2.10.0-20120320-074449-d9d46a8bbb
reconstructed args:
uncaught exception during compilation: java.lang.AssertionError
error: java.lang.AssertionError: assertion failed:
whilecompiling: ok.scala
current phase: refchecks
library version: version 2.10.0-20120320-074449-d9d46a8bbb
compiler version: version 2.10.0-20120320-074449-d9d46a8bbb
reconstructed args:
no extension method found for method xyzzy among Stream(method extension$xyzzy)/Stream(extension$xyzzy, ?)
at scala.Predef$.assert(Predef.scala:161)
at scala.tools.nsc.Global.assert(Global.scala:176)
at scala.tools.nsc.transform.ExtensionMethods$$anonfun$extensionMethod$1.apply(ExtensionMethods.scala:67)
at scala.tools.nsc.transform.ExtensionMethods$$anonfun$extensionMethod$1.apply(ExtensionMethods.scala:58)
at scala.reflect.internal.SymbolTable.atPhase(SymbolTable.scala:138)
at scala.tools.nsc.transform.ExtensionMethods.extensionMethod(ExtensionMethods.scala:58)
at scala.tools.nsc.transform.Erasure$ErasureTransformer$$anon$1.preErase(Erasure.scala:1045)
at scala.tools.nsc.transform.Erasure$ErasureTransformer$$anon$1.transform(Erasure.scala:1100)
[snip]
It seems to stem from the argument involving the class' type parameter. I think the matches check around the assertion does not consider the two type parameters to match.
The text was updated successfully, but these errors were encountered:
Geoff Reedy (geoff) said:
Guess I should mention here that I've got a pull request open with an apparent fix for this issue (and a test case for it) at scala/scala#302
Compiling
causes an assertion failure in the compiler
It seems to stem from the argument involving the class' type parameter. I think the matches check around the assertion does not consider the two type parameters to match.
The text was updated successfully, but these errors were encountered: