diff options
author | mihaylov <mihaylov@epfl.ch> | 2004-06-02 19:05:59 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2004-06-02 19:05:59 +0000 |
commit | 3f137861e9c46de3218f8132da82e299e9ad35fa (patch) | |
tree | 156b068cfeeb2350c3d302d270e1f614191c2612 /sources | |
parent | 3f84ccaa23b188609de40e678fa81331cbe86d79 (diff) | |
download | scala-3f137861e9c46de3218f8132da82e299e9ad35fa.tar.gz scala-3f137861e9c46de3218f8132da82e299e9ad35fa.tar.bz2 scala-3f137861e9c46de3218f8132da82e299e9ad35fa.zip |
- Changed the way to get the CLRPackage instance
Diffstat (limited to 'sources')
-rw-r--r-- | sources/scalac/backend/msil/GenMSIL.java | 2 | ||||
-rw-r--r-- | sources/scalac/backend/msil/TypeCreator.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sources/scalac/backend/msil/GenMSIL.java b/sources/scalac/backend/msil/GenMSIL.java index 722d1e00e1..a4c58ee301 100644 --- a/sources/scalac/backend/msil/GenMSIL.java +++ b/sources/scalac/backend/msil/GenMSIL.java @@ -2034,7 +2034,7 @@ final class MSILType { public case REF(Type t) { assert t != null && !t.IsArray(); } public case ARRAY(MSILType t) { assert t != null; } - private final static CLRPackageParser pp = CLRPackageParser.instance; + private final static CLRPackageParser pp = CLRPackageParser.instance(); public static final MSILType OBJECT = REF(pp.OBJECT); public static final MSILType STRING = REF(pp.STRING); diff --git a/sources/scalac/backend/msil/TypeCreator.java b/sources/scalac/backend/msil/TypeCreator.java index 80185b14bd..0b72054be1 100644 --- a/sources/scalac/backend/msil/TypeCreator.java +++ b/sources/scalac/backend/msil/TypeCreator.java @@ -117,7 +117,7 @@ final class TypeCreator { this.gen = gen; this.defs = global.definitions; - ti = CLRPackageParser.instance; + ti = CLRPackageParser.instance(); types2symbols = phase.types2symbols; symbols2types = phase.symbols2types; |