diff options
author | paltherr <paltherr@epfl.ch> | 2004-03-04 01:29:53 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-03-04 01:29:53 +0000 |
commit | 95146d1ee59c97899f6c807019bb3359d8c7884b (patch) | |
tree | 2e3f9686cddba4988884faac684f282e0f62114f /sources/scalac/symtab/Type.java | |
parent | 3d5478d4e16815bbb353eb718d5a1c5e712706d4 (diff) | |
download | scala-95146d1ee59c97899f6c807019bb3359d8c7884b.tar.gz scala-95146d1ee59c97899f6c807019bb3359d8c7884b.tar.bz2 scala-95146d1ee59c97899f6c807019bb3359d8c7884b.zip |
- Removed Type.localThisType
Diffstat (limited to 'sources/scalac/symtab/Type.java')
-rw-r--r-- | sources/scalac/symtab/Type.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sources/scalac/symtab/Type.java b/sources/scalac/symtab/Type.java index fed9d8055e..6e89ef88d8 100644 --- a/sources/scalac/symtab/Type.java +++ b/sources/scalac/symtab/Type.java @@ -135,10 +135,6 @@ public class Type implements Modifiers, Kinds, TypeTags, EntryTags { // Creators --------------------------------------------------------------------- - /** An owner-less ThisType - */ - public static Type localThisType = NoPrefix; - /** An empty Type array */ public static final Type[] EMPTY_ARRAY = new Type[0]; @@ -3089,11 +3085,11 @@ public class Type implements Modifiers, Kinds, TypeTags, EntryTags { if (sym == definitions.JAVA_OBJECT_CLASS || sym == definitions.ALL_CLASS || sym == definitions.ALLREF_CLASS) - return Type.typeRef(localThisType, definitions.ANY_CLASS, EMPTY_ARRAY); + return Type.typeRef(NoPrefix, definitions.ANY_CLASS, EMPTY_ARRAY); else { Type this1 = unbox(); if (this1 != this) return this1; - else return Type.typeRef(localThisType, sym, EMPTY_ARRAY); + else return Type.typeRef(NoPrefix, sym, EMPTY_ARRAY); } default: throw new ApplicationError(sym + " has wrong kind: " + sym.kind); |