summaryrefslogtreecommitdiff
path: root/sources/scalac/Global.java
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-10-29 14:01:48 +0000
committerpaltherr <paltherr@epfl.ch>2003-10-29 14:01:48 +0000
commitb0cd565a51d819847de0691fe5f9098fd17dce71 (patch)
treeab84c02ae6d0bb3c14d65ff2c1202fe585e27547 /sources/scalac/Global.java
parent6191a1cea724f848a4751e0595ebe4b1bc71f609 (diff)
downloadscala-b0cd565a51d819847de0691fe5f9098fd17dce71.tar.gz
scala-b0cd565a51d819847de0691fe5f9098fd17dce71.tar.bz2
scala-b0cd565a51d819847de0691fe5f9098fd17dce71.zip
- Replaced most of the Definition <...>_TYPE fi...
- Replaced most of the Definition <...>_TYPE fields by methods
Diffstat (limited to 'sources/scalac/Global.java')
-rw-r--r--sources/scalac/Global.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/sources/scalac/Global.java b/sources/scalac/Global.java
index d13798fd8d..d0a89b9191 100644
--- a/sources/scalac/Global.java
+++ b/sources/scalac/Global.java
@@ -287,6 +287,7 @@ public class Global {
while (currentPhase.next != null && reporter.errors() == 0) {
currentPhase = currentPhase.next;
start();
+ // !!! new scalac.checkers.SymbolChecker(this).check();
currentPhase.apply(units);
stop(currentPhase.descriptor.taskDescription());
if (currentPhase.descriptor.hasPrintFlag()) {
@@ -436,7 +437,7 @@ public class Global {
last,
make.Literal(last.pos,
show(last.type())).setType(
- definitions.JAVA_STRING_TYPE)});
+ definitions.JAVA_STRING_TYPE())});
}
TreeList body = new TreeList();
for (int j = 0; j < impl.body.length; j++)
@@ -467,7 +468,7 @@ public class Global {
SHOW_DEFINITION()),
new Tree[] {
make.Literal(tree.pos, show(tree.symbol())).setType(
- definitions.JAVA_STRING_TYPE)}));
+ definitions.JAVA_STRING_TYPE())}));
return;
case ValDef(_, _, _, _):
if (!mustShow(tree.symbol())) return;
@@ -478,7 +479,7 @@ public class Global {
SHOW_VALUE_DEFINITION()),
new Tree[] {
make.Literal(tree.pos, show(tree.symbol())).setType(
- definitions.JAVA_STRING_TYPE),
+ definitions.JAVA_STRING_TYPE()),
treeGen.Ident(tree.pos, tree.symbol())}));
return;
default: