diff options
author | Martin Odersky <odersky@gmail.com> | 2003-08-21 10:30:27 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2003-08-21 10:30:27 +0000 |
commit | b227b272110f0654064632642c2ca1031e7c68c6 (patch) | |
tree | 747970915b10fc1eb9b80481c44052a3808fd08f /sources/scalac/transformer/AddConstructors.java | |
parent | 7b1200a4f4ecd1014055f65f384bd814754256b0 (diff) | |
download | scala-b227b272110f0654064632642c2ca1031e7c68c6.tar.gz scala-b227b272110f0654064632642c2ca1031e7c68c6.tar.bz2 scala-b227b272110f0654064632642c2ca1031e7c68c6.zip |
*** empty log message ***
Diffstat (limited to 'sources/scalac/transformer/AddConstructors.java')
-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 226b476dc5..732762adb3 100644 --- a/sources/scalac/transformer/AddConstructors.java +++ b/sources/scalac/transformer/AddConstructors.java @@ -73,7 +73,7 @@ public class AddConstructors extends Transformer { Symbol getConstructor(Symbol classConstr) { return getConstructor(classConstr, (((Type.MethodType)classConstr.info()).vparams), - classConstr.primaryConstructorClass()); + classConstr.constructorClass()); } Symbol getConstructor(Symbol classConstr, Symbol[] paramSyms, Symbol owner) { |