summaryrefslogtreecommitdiff
path: root/sources/scalac/symtab/Symbol.java
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2004-02-27 14:08:46 +0000
committerpaltherr <paltherr@epfl.ch>2004-02-27 14:08:46 +0000
commitf4308ff5f3dae9500ec89898e70a8cc9347e633f (patch)
treee77f165bec2b50c81a928564955c48139ee45a52 /sources/scalac/symtab/Symbol.java
parent31238c61f5df549e2d5e5e78d08d25ef5c6e4d9d (diff)
downloadscala-f4308ff5f3dae9500ec89898e70a8cc9347e633f.tar.gz
scala-f4308ff5f3dae9500ec89898e70a8cc9347e633f.tar.bz2
scala-f4308ff5f3dae9500ec89898e70a8cc9347e633f.zip
- Removed Global.firstPos & Symbol.setFirstInfo
Diffstat (limited to 'sources/scalac/symtab/Symbol.java')
-rw-r--r--sources/scalac/symtab/Symbol.java11
1 files changed, 1 insertions, 10 deletions
diff --git a/sources/scalac/symtab/Symbol.java b/sources/scalac/symtab/Symbol.java
index 9876b8c0a7..a49b13a3a8 100644
--- a/sources/scalac/symtab/Symbol.java
+++ b/sources/scalac/symtab/Symbol.java
@@ -174,15 +174,6 @@ public abstract class Symbol implements Modifiers, Kinds {
}
/**
- * Set initial information valid from start of first phase. This
- * information is visible in the first phase and will be
- * transformed by all phases excepted the first one.
- */
- public final Symbol setFirstInfo(Type info) {
- return setInfoAt(info, Global.instance.getFirstPhase());
- }
-
- /**
* Set initial information valid from start of given phase. This
* information is visible in the given phase and will be
* transformed by the given phase.
@@ -1655,7 +1646,7 @@ public class AbsTypeSymbol extends TypeSymbol {
}
public AbsTypeSymbol(int pos, Name name, Symbol owner, int flags, int attrs) {
super(TYPE, pos, name, owner, flags, attrs);
- allConstructors().setFirstInfo(Type.MethodType(EMPTY_ARRAY, Type.typeRef(owner.thisType(), this, Type.EMPTY_ARRAY)));
+ allConstructors().setInfo(Type.MethodType(EMPTY_ARRAY, Type.typeRef(owner.thisType(), this, Type.EMPTY_ARRAY)));
}
public static AbsTypeSymbol define(