diff options
author | paltherr <paltherr@epfl.ch> | 2004-02-02 19:29:29 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-02-02 19:29:29 +0000 |
commit | c11a8632c4052a608bb5318d57c44aade2afb8b7 (patch) | |
tree | 64a2870ddda16c586bd8567be81b15db7624a264 /sources/scalac | |
parent | b5d47b164f4993ff8e2d74dbe773bf5d7a63242f (diff) | |
download | scala-c11a8632c4052a608bb5318d57c44aade2afb8b7.tar.gz scala-c11a8632c4052a608bb5318d57c44aade2afb8b7.tar.bz2 scala-c11a8632c4052a608bb5318d57c44aade2afb8b7.zip |
- Removed method TreeGen.This(int,Type)
Diffstat (limited to 'sources/scalac')
-rw-r--r-- | sources/scalac/ast/TreeGen.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sources/scalac/ast/TreeGen.java b/sources/scalac/ast/TreeGen.java index 7c6a3516ec..1ebcaf7c53 100644 --- a/sources/scalac/ast/TreeGen.java +++ b/sources/scalac/ast/TreeGen.java @@ -297,19 +297,6 @@ public class TreeGen implements Kinds, Modifiers, TypeTags { return tree; } - /** Builds a This node corresponding to given type. */ - public This This(int pos, Type type) { - switch (type) { - case ThisType(Symbol clasz): - return This(pos, clasz); - case SingleType(Type prefix, Symbol member): - assert member.isModule(): type; - return This(pos, member.moduleClass()); - default: - throw Debug.abort("illegal case", type); - } - } - /** Builds a Super node corresponding to given class. */ public Super Super(int pos, Symbol clazz) { assert clazz.isClass(): Debug.show(clazz); |