From c11a8632c4052a608bb5318d57c44aade2afb8b7 Mon Sep 17 00:00:00 2001 From: paltherr Date: Mon, 2 Feb 2004 19:29:29 +0000 Subject: - Removed method TreeGen.This(int,Type) --- sources/scalac/ast/TreeGen.java | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'sources/scalac') 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); -- cgit v1.2.3