summaryrefslogtreecommitdiff
path: root/sources/scalac/ast
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2004-03-18 23:27:59 +0000
committerpaltherr <paltherr@epfl.ch>2004-03-18 23:27:59 +0000
commit5db349a7bd6f862dc35d808177fb37f34a906f0d (patch)
tree646c6a2a0515e033e81065c8af4da2403fde68d8 /sources/scalac/ast
parent164f433132c1585e268c7db27768422b716cd2ef (diff)
downloadscala-5db349a7bd6f862dc35d808177fb37f34a906f0d.tar.gz
scala-5db349a7bd6f862dc35d808177fb37f34a906f0d.tar.bz2
scala-5db349a7bd6f862dc35d808177fb37f34a906f0d.zip
- Removed method subName in class Name
- Replaced Name by String in methods getModule and getClass in Definitions
Diffstat (limited to 'sources/scalac/ast')
-rw-r--r--sources/scalac/ast/TreeGen.java5
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
});