summaryrefslogtreecommitdiff
path: root/sources/scalac/ast
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2004-02-02 19:29:29 +0000
committerpaltherr <paltherr@epfl.ch>2004-02-02 19:29:29 +0000
commitc11a8632c4052a608bb5318d57c44aade2afb8b7 (patch)
tree64a2870ddda16c586bd8567be81b15db7624a264 /sources/scalac/ast
parentb5d47b164f4993ff8e2d74dbe773bf5d7a63242f (diff)
downloadscala-c11a8632c4052a608bb5318d57c44aade2afb8b7.tar.gz
scala-c11a8632c4052a608bb5318d57c44aade2afb8b7.tar.bz2
scala-c11a8632c4052a608bb5318d57c44aade2afb8b7.zip
- Removed method TreeGen.This(int,Type)
Diffstat (limited to 'sources/scalac/ast')
-rw-r--r--sources/scalac/ast/TreeGen.java13
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);