diff options
Diffstat (limited to 'sources/scalac/ast/TreeGen.java')
-rw-r--r-- | sources/scalac/ast/TreeGen.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sources/scalac/ast/TreeGen.java b/sources/scalac/ast/TreeGen.java index 5ffeade7ac..33774c5fe3 100644 --- a/sources/scalac/ast/TreeGen.java +++ b/sources/scalac/ast/TreeGen.java @@ -1200,10 +1200,9 @@ public class TreeGen implements Kinds, Modifiers, TypeTags { } public Tree Console_print(int pos, Tree arg) { - Symbol sym = global.definitions.getModule( Names.scala_Console ); return Apply( Select( pos, - mkGlobalRef( pos, sym), - global.definitions.CONSOLE_PRINT()), + mkGlobalRef(pos, definitions.CONSOLE), + definitions.CONSOLE_PRINT()), new Tree[] { arg }); |