diff options
author | mihaylov <mihaylov@epfl.ch> | 2003-04-16 13:01:04 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2003-04-16 13:01:04 +0000 |
commit | 6208a4f530a18e0b920d821d1c18a1882c9c2839 (patch) | |
tree | 8c8ee4b8746e225960eb4ba228a41306d8faaf2b /sources/scalac | |
parent | d5d9d56f4944868b166b39f5d72c273c07c828a9 (diff) | |
download | scala-6208a4f530a18e0b920d821d1c18a1882c9c2839.tar.gz scala-6208a4f530a18e0b920d821d1c18a1882c9c2839.tar.bz2 scala-6208a4f530a18e0b920d821d1c18a1882c9c2839.zip |
- set the trees of the supertypes to be the ol...
- set the trees of the supertypes to be the old supertype trees
Diffstat (limited to 'sources/scalac')
-rw-r--r-- | sources/scalac/transformer/AddConstructors.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/transformer/AddConstructors.java b/sources/scalac/transformer/AddConstructors.java index 14ee843677..6031e0df78 100644 --- a/sources/scalac/transformer/AddConstructors.java +++ b/sources/scalac/transformer/AddConstructors.java @@ -202,7 +202,7 @@ public class AddConstructors extends Transformer { Type.compoundType(treeSym.parents(), classScope, treeSym); Symbol classSym = treeSym.updateInfo(classType); Tree[] newBody = (Tree[]) classBody.toArray(Tree.EMPTY_ARRAY); - return gen.ClassDef(classSym, newBody); + return gen.ClassDef(classSym, baseClasses, newBody); // Substitute the constructor into the 'new' expressions case New(Template(Tree[] baseClasses, _)): |