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
exception when typing new <error>(ns.apply(0).$asInstanceOf[<notype>]())
classtype required but <notype> found in file test.scala
scala.reflect.internal.Types$TypeError:classtype required but <notype> found
at scala.tools.nsc.typechecker.Contexts$Context.issue(Contexts.scala:317)
If you save the dereference Long in a val and then instantiate A, things are fine.
The text was updated successfully, but these errors were encountered:
Here's a simple test program:
It currently crashes with an error in typer:
If you save the dereference Long in a val and then instantiate A, things are fine.
The text was updated successfully, but these errors were encountered: