From ea9add9f3ddfc9f2ba8692563e02f04b0975179f Mon Sep 17 00:00:00 2001 From: paltherr Date: Wed, 29 Oct 2003 16:52:37 +0000 Subject: - In Definitions, replaced primitive _TYPE fiel... - In Definitions, replaced primitive _TYPE fields by methods --- sources/scalac/typechecker/AnalyzerPhase.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sources/scalac/typechecker/AnalyzerPhase.java') 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); } -- cgit v1.2.3