summaryrefslogtreecommitdiff
path: root/sources/scalac/Global.java
diff options
context:
space:
mode:
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: