Skip to content
New issue

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

Types#termSymbolDirect is broken #9720

Open
scabug opened this issue Mar 24, 2016 · 1 comment
Open

Types#termSymbolDirect is broken #9720

scabug opened this issue Mar 24, 2016 · 1 comment
Milestone

Comments

@scabug
Copy link

scabug commented Mar 24, 2016

Welcome to Scala 2.11.8 (OpenJDK 64-Bit Server VM, Java 1.8.0_66-internal).
Type in expressions for evaluation. Or try :help.

scala> :power
Power mode enabled. :phase is at typer.
import scala.tools.nsc._, intp.global._, definitions._
Try :help or completions for vals._ and power._

scala> val x = "foo"
x: String = foo

scala> typeOf[x.type].termSymbol
res0: $r.intp.global.Symbol = value x

scala> typeOf[x.type].termSymbolDirect
res1: $r.intp.global.Symbol = <none>
@scabug
Copy link
Author

scabug commented Mar 24, 2016

Imported From: https://issues.scala-lang.org/browse/SI-9720?orig=1
Reporter: Guillaume Martres (Smarter)
Affected Versions: 2.11.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants