Community
Participate
Working Groups
----------- Xtend ---------------- @Data class DataBug extends Abs { int foo } class PropertyBug extends Abs { @Property int foo } abstract class Abs { def String getFoo() } ---------------------------------- The compiled Java code contains errors, because the inferred getters have a different return type than the one from the abstract class. There are no error markers in the Xtend file.
Not only the return type is an issue, but the overridden method may also be final.
Pushed to review https://git.eclipse.org/r/#/c/29116/
No yet activated for @Property and @Data, as the new validation uses new API that needs the latest nightly to work. Will activate the check in the next few days.