diff options
-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); |