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
object P {
def !#@ : Nothing = ???
}
object Test {
import P.!#@
def f = !#@
}
gives:
importSymbolic.scala:10: error: not found: !#@
def f = !#@
^
one error found
The problem is that import selectors are untyped trees, and therefore do not undergo decoding of symbolic characters. The problem will be fixed once we move decoding into a late phase.
The text was updated successfully, but these errors were encountered:
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
May 4, 2015
DottyPredef needs to be compiled with -Yno-imports because it would
clash otherwise with the DottyPredef in the root context.
Note that ??? has to be written in fully qualified form because of scala#530.
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
May 4, 2015
Example:
gives:
The problem is that import selectors are untyped trees, and therefore do not undergo decoding of symbolic characters. The problem will be fixed once we move decoding into a late phase.
The text was updated successfully, but these errors were encountered: