Community
Participate
Working Groups
Build Identifier: It would be nice to have a way to inherit a (non-static) extension. That is, if I declare some field with the "extension" keyword, I would like to use the introduced extension methods in all subclasses. Currently, one has to define the extension again and again in the subclasses. A possible solution could be to allow to add "extension" keyword to "getter"-Methods, that is, to methods with no parameters, that return some object. since the method is visible to all subclasses, they could access the extension. (otherwise, one would need to support protected fields, which seems not to be wanted...) Reproducible: Always
This should be solved by introducing visibility. *** This bug has been marked as a duplicate of bug 341955 ***