diff options
Diffstat (limited to 'sources/scalac/symtab')
-rw-r--r-- | sources/scalac/symtab/Symbol.java | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/sources/scalac/symtab/Symbol.java b/sources/scalac/symtab/Symbol.java index 35ceb28e36..3beeb0b0db 100644 --- a/sources/scalac/symtab/Symbol.java +++ b/sources/scalac/symtab/Symbol.java @@ -1148,13 +1148,6 @@ public class ClassSymbol extends TypeSymbol { */ final private Type thistp = Type.ThisType(this); - /** The sourcefile name form where the class symbol was or - * needs to be loaded. only defined for Scala source library classes; - * not for classes that exist in class files, or classes compiled - * from the command line. - */ - public String sourcefile = null; - /** Principal Constructor */ public ClassSymbol(int pos, Name name, Symbol owner, int flags) { @@ -1177,7 +1170,6 @@ public class ClassSymbol extends TypeSymbol { this.module = TermSymbol.newCompanionModule(this, 0, parser); this.mangled = name; this.setInfo(parser); - this.sourcefile = parser.filename; } /** Constructor for classes to load as class files. @@ -1198,7 +1190,6 @@ public class ClassSymbol extends TypeSymbol { other.constructor.setInfo(constructor.info()); other.mangled = mangled; other.module = module; - other.sourcefile = sourcefile; if (thisSym != this) other.setTypeOfThis(typeOfThis()); return other; } @@ -1354,6 +1345,9 @@ public final class ErrorSymbol extends Symbol { public Symbol enclClass() { return this; } + + public void reset(Type completer) { + } } /** The class of Symbol.NONE @@ -1400,6 +1394,9 @@ public final class NoSymbol extends Symbol { public Symbol owner() { throw new ApplicationError(); } + + public void reset(Type completer) { + } } /** A class for symbols generated in label definitions. |