diff options
author | Martin Odersky <odersky@gmail.com> | 2007-05-01 15:21:10 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2007-05-01 15:21:10 +0000 |
commit | 99792adaf6d221270f4c19e5c7227ffcbfc2c6a3 (patch) | |
tree | fef370d3f3c025d65d11067c698ea8b982b957d2 | |
parent | cc7c6431d5dba08790230adcad80af120acc6811 (diff) | |
download | scala-99792adaf6d221270f4c19e5c7227ffcbfc2c6a3.tar.gz scala-99792adaf6d221270f4c19e5c7227ffcbfc2c6a3.tar.bz2 scala-99792adaf6d221270f4c19e5c7227ffcbfc2c6a3.zip |
fixed bug1075
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/Constructors.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/Constructors.scala b/src/compiler/scala/tools/nsc/transform/Constructors.scala index 71f9c9d828..c458e9a089 100644 --- a/src/compiler/scala/tools/nsc/transform/Constructors.scala +++ b/src/compiler/scala/tools/nsc/transform/Constructors.scala @@ -70,7 +70,7 @@ abstract class Constructors extends Transform { else super.transform(tree) case Select(This(_), _) - if ((tree.symbol hasFlag PARAMACCESSOR) && tree.symbol.owner == clazz) => + if ((tree.symbol hasFlag PARAMACCESSOR) && !tree.symbol.isSetter && tree.symbol.owner == clazz) => gen.mkAttributedIdent(parameter(tree.symbol)) setPos tree.pos case Select(_, _) => thisRefSeen = true |