diff options
author | schinz <schinz@epfl.ch> | 2003-03-04 11:39:37 +0000 |
---|---|---|
committer | schinz <schinz@epfl.ch> | 2003-03-04 11:39:37 +0000 |
commit | fc497536ed884b4d18860f6db644d4143412c2f5 (patch) | |
tree | 0f9908412896725eea4e4982d916ddb11e0be3b0 /sources/scalac/symtab | |
parent | e5583b7c1132cb2f35cef316507f5d2b4a18dbe3 (diff) | |
download | scala-fc497536ed884b4d18860f6db644d4143412c2f5.tar.gz scala-fc497536ed884b4d18860f6db644d4143412c2f5.tar.bz2 scala-fc497536ed884b4d18860f6db644d4143412c2f5.zip |
- bug fix: cloneSymbol in ClassSymbol correctly...
- bug fix: cloneSymbol in ClassSymbol correctly sets thisSym for the new
symbol
Diffstat (limited to 'sources/scalac/symtab')
-rw-r--r-- | sources/scalac/symtab/Symbol.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/symtab/Symbol.java b/sources/scalac/symtab/Symbol.java index f7b4f65a00..2b8145f8fa 100644 --- a/sources/scalac/symtab/Symbol.java +++ b/sources/scalac/symtab/Symbol.java @@ -1143,7 +1143,7 @@ public class ClassSymbol extends TypeSymbol { other.constructor.setInfo(constructor.info()); other.mangled = mangled; other.module = module; - other.thisSym = thisSym; + if (thisSym != this) other.setTypeOfThis(typeOfThis()); return other; } |