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
It has to exclude .isLazy or you pick up unwanted hijackers. (This is what one reaps when reusing bits for ad-hoc encoding schemes.)
scala> import scala.reflect.runtime.universe._ import scala.reflect.runtime.universe._ scala> class A { lazy val x = 1 } defined class A scala> typeOf[A].members.toList filter (x => x.isTerm && x.asTerm.isVar) res0: List[reflect.runtime.universe.Symbol] = List(lazy value x)
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-6687?orig=1 Reporter: @paulp Affected Versions: 2.10.0-RC2, 2.11.0-M1
Sorry, something went wrong.
@paulp said: scala/scala#1665
paulp
No branches or pull requests
It has to exclude .isLazy or you pick up unwanted hijackers. (This is what one reaps when reusing bits for ad-hoc encoding schemes.)
The text was updated successfully, but these errors were encountered: