Community
Participate
Working Groups
If a role implicitly inherits one or more abstract methods, the error The abstract method foo in type Product can only be defined by an abstract class will be displayed at position 0 of the text buffer. Since we cannot highlight the invisible abstract method we should at least position the error at the role class.
Created attachment 201872 [details] Test & fix Patch contains a test and fixes the problem by assigning valid source positions to copied method declarations. This should *not* affect the generated code because source positions of a copied method are copied directly from the inherited byte code (plus adjustment from BytecodeTransformer.mapLines(..)).
Patch has been release for 2.1M2
Verified for 2.1 using build 201206040338.