Menu

#6 Bug in clone()-method

open
nobody
None
5
2006-05-24
2006-05-24
Anonymous
No

I've just discovered that the clone()-generation method
of CodeSugar constructs incomplete clones! E.G. if
class A has a public property "test" and a class B
extends A, the property "test" is not being cloned by
CodeSugar for class B (it's not in the list of possible
fields to clone), although it's is inherited by B.

Discussion