diff options
author | paltherr <paltherr@epfl.ch> | 2003-07-03 07:13:04 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-07-03 07:13:04 +0000 |
commit | d5f54192491aac2e0a22857793704fc48576a6b2 (patch) | |
tree | 70e9366c034948bbb2e14efa32268809fbd47f10 | |
parent | 26388aa8b6d37d3d6a42f61c93bc621fc533c74d (diff) | |
download | scala-d5f54192491aac2e0a22857793704fc48576a6b2.tar.gz scala-d5f54192491aac2e0a22857793704fc48576a6b2.tar.bz2 scala-d5f54192491aac2e0a22857793704fc48576a6b2.zip |
- Changed method parseType to unalias the type ...
- Changed method parseType to unalias the type it returns (needed for
example to get rid of scala.AnyRef types).
-rw-r--r-- | sources/scalac/symtab/classfile/AttributeParser.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scalac/symtab/classfile/AttributeParser.java b/sources/scalac/symtab/classfile/AttributeParser.java index 6aeb26d9fe..96c65f3299 100644 --- a/sources/scalac/symtab/classfile/AttributeParser.java +++ b/sources/scalac/symtab/classfile/AttributeParser.java @@ -327,9 +327,9 @@ public class AttributeParser implements ClassfileConstants { nextToken(); Type[] args = new Type[types.size()]; types.toArray(args); - return Type.TypeRef(clazz.owner().thisType(), clazz, args); + return Type.TypeRef(clazz.owner().thisType(), clazz, args).unalias(); } else { - return clazz.typeConstructor(); + return clazz.typeConstructor().unalias(); } } |