Community
Participate
Working Groups
Currently constructors are only allowed in external types, and the grammer does not allow you to specify public/private for the constructor. We need the following updates to the parser/validation/mof model 1) Constructors should support the private/public modifier 2) Constructors should be supported for Handlers 3) If a constructor is specified as private, it should not be resolvable outside of the part that defines it 4) If a part defines its default constructor as private, the following should be flagged as invalid (outside of the part definition): new Thing(); new Thing;
changing to Enhancement, as this isn't really a defect.
I have completed all work for constructors I have updated the binding resolution and the EGL2MofExpression to handle resolution of constructor references when inside a constructor. Additionally, I added validation to require that an constructor call can only occur as the first statement in a constructor.
Closing this work item