Closed
Description
I was asked to provide an example of TreeTypeMap
being broken in some other phase than ElimByName
, so here you go :).
class Test {
def test: Unit = {
lazy val x: Int = {
case class Foo(x: Int)
1
}
}
}
Fails with the mysterious:
constructor throws in class throws does not take type parameters
Stack trace after using -Xprompt
: https://gist.github.com/d121067571cdcbf9bac26cf8028f6002