diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-09-18 01:08:33 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-09-20 12:10:46 +0200 |
commit | 440d28d027f2a1910ec6c4c09ad02602b67c7ea9 (patch) | |
tree | 95651abb4a895636fb68d68507ff11641218119d /test/files/run/reflection-enclosed-basic.check | |
parent | 66603a2c003852d39faec20a9763fb0e25049cf4 (diff) | |
download | scala-440d28d027f2a1910ec6c4c09ad02602b67c7ea9.tar.gz scala-440d28d027f2a1910ec6c4c09ad02602b67c7ea9.tar.bz2 scala-440d28d027f2a1910ec6c4c09ad02602b67c7ea9.zip |
SI-5943 toolboxes now autoimport Predef and scala
Previously tb.typeCheck used default typer, which builds upon NoContext.
Changing the context to analyzer.rootContext(NoCompilationUnit, EmptyTree)
fixed the missing imports problem.
Unfortunately this doesn't help in cases like "math.sqrt(4.0)" because of
https://issues.scala-lang.org/browse/SI-6393. But anyways I'm adding
this test case to pending.
Diffstat (limited to 'test/files/run/reflection-enclosed-basic.check')
0 files changed, 0 insertions, 0 deletions