lazy vals crash compiler
japgolly opened this issue · 1 comments
japgolly commented
Yo. It seems lazy val
s within tests crash scalac.
It happens when compiling for JVM and JS.
Reproduction:
object What { def mf1 = 2 }
object SomeTest extends TestSuite {
override def tests = TestSuite {
import What._
lazy val subj = mf1
}
}
You can see big error messages if you want in scala-js/scala-js#1580