diff options
author | paltherr <paltherr@epfl.ch> | 2003-10-29 16:52:37 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-10-29 16:52:37 +0000 |
commit | ea9add9f3ddfc9f2ba8692563e02f04b0975179f (patch) | |
tree | 17336e6137b651bfa48ee1fd031f53a9df1c25fa /sources/scalac/typechecker/AnalyzerPhase.java | |
parent | 813005cff33688de9444894bd3d89ac1a4ab0628 (diff) | |
download | scala-ea9add9f3ddfc9f2ba8692563e02f04b0975179f.tar.gz scala-ea9add9f3ddfc9f2ba8692563e02f04b0975179f.tar.bz2 scala-ea9add9f3ddfc9f2ba8692563e02f04b0975179f.zip |
- In Definitions, replaced primitive _TYPE fiel...
- In Definitions, replaced primitive _TYPE fields by methods
Diffstat (limited to 'sources/scalac/typechecker/AnalyzerPhase.java')
-rw-r--r-- | sources/scalac/typechecker/AnalyzerPhase.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sources/scalac/typechecker/AnalyzerPhase.java b/sources/scalac/typechecker/AnalyzerPhase.java index 3db1a0bf1c..155b8a7a06 100644 --- a/sources/scalac/typechecker/AnalyzerPhase.java +++ b/sources/scalac/typechecker/AnalyzerPhase.java @@ -46,7 +46,7 @@ public class AnalyzerPhase extends Phase { Tree importjavalang = make.Import( Position.NOPOS, javalang, new Name[]{Names.IMPORT_WILDCARD}) .setSymbol(definitions.JAVALANG) - .setType(definitions.UNIT_TYPE); + .setType(definitions.UNIT_TYPE()); startContext.imports = new ImportList( importjavalang, startContext.scope, startContext.imports); @@ -56,7 +56,7 @@ public class AnalyzerPhase extends Phase { Tree importscala = make.Import( Position.NOPOS, scala, new Name[]{Names.IMPORT_WILDCARD}) .setSymbol(definitions.SCALA) - .setType(definitions.UNIT_TYPE); + .setType(definitions.UNIT_TYPE()); startContext.imports = new ImportList( importscala, new Scope(), startContext.imports); } @@ -75,7 +75,7 @@ public class AnalyzerPhase extends Phase { Tree importscalaPredef = make.Import( Position.NOPOS, scalaPredef, new Name[]{Names.IMPORT_WILDCARD}) .setSymbol(scalaPredefSym) - .setType(definitions.UNIT_TYPE); + .setType(definitions.UNIT_TYPE()); startContext.imports = new ImportList( importscalaPredef, new Scope(), startContext.imports); } @@ -98,7 +98,7 @@ public class AnalyzerPhase extends Phase { Tree importConsole = make.Import( Position.NOPOS, console, new Name[]{Names.IMPORT_WILDCARD}) .setSymbol(module) - .setType(definitions.UNIT_TYPE); + .setType(definitions.UNIT_TYPE()); consoleContext.imports = new ImportList( importConsole, new Scope(), consoleContext.imports); } |