Community
Participate
Working Groups
All body declarations have modifiers. Currently it is hard to access them in a polymorphic way.
Jim, is it possible to add an API for this?
We simply need to move the getModifiers() method up in the hierarchy. It should not break any user since this is a virtual call. The getModifiers() et setModifiers() could be defined as abstract methods on BodyDeclaration.
I don't see any problem with this. I will investigate.
Fixed in builds > N2003114. Updated build notes.
Verified.