Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
In some cases, when a trait defines a getter and a setter, and that the implementing class defines a property of the same name, then if joint compilation is enabled, incorrect stubs may be generated.
Example:
trait SomeTrait { void setFoo(Foo a) {} Foo getFoo() {} } class SomeClass implements SomeTrait { Foo foo }
The fact that stubs are incorrect or not do not seem to only depend on the contents of the classes, but also on the order of compilation.