Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.4.0-beta-4
-
None
Description
Currently for the following code:
interface MyInterface { void myMethod() } trait MyTrait implements MyInterface { @Override void myMethod() { ... } }
the compiler reports:
Method 'onUrl' from class 'MyTraitTrait$Helper' does not override method from its superclass or interfaces but is annotated with @Override. @ line 9, column 5. @Override ^ 1 error
It would make it harder to mismatch a overridden method signature.