Community
Participate
Working Groups
If a non-abstract role overrides an abstract role from the super team, missing implementations for abstract methods (incl. abstract static) are not reported well: - error has no valid location (shown at position 0) - error differs between building and reconciling - error has no quickfix.
Shouldn't be too hard to fix.
(In reply to comment #0) > If a non-abstract role overrides an abstract role from the super team, > missing implementations for abstract methods (incl. abstract static) > are not reported well: > - error has no valid location (shown at position 0) > - error differs between building and reconciling This was resolved in duplicate bug 355311. > - error has no quickfix. This will be fixed here (changing the bug title accordingly).
Created attachment 204551 [details] tests & fix Fix comes in two steps: Must report AbstractMethodMustBeImplemented also for copy-inherited abstract methods. -> This will trigger the desired quickfixes Must catch CCE in ModifierCorrectionSubProcessor.addAbstractMethodProposals: it is expected that the error location is a method declaration, but copy-inherited method has no local AST, so we find the type decl instead. Tests: + new OTReconcilerTests.testBug348574a() Check that problem reported in comment 0 is really resolved + Adjust expected result in ImplicitInheritance + JavaQuickFixTests for the actual quickfixes
Released for 2.1 M3 (r2034-38)
Verified using build 2.2.1.201209182002