Community
Participate
Working Groups
A builder's first parameter is always "unit" having type '? extends BuildUnit'. There are several required validations and some quirks. - A builder declared inside a unit should not be allowed to declare the unit parameter as it is implied by its container. (Alternatively, if allowed, it would need to be declared with a compatible type). - The unit parameter should always be 'final val' Suggested implementation - derive UnitParameterDeclaration from BParameterDeclaration, and let this class set 'final val' as default values, as well as enforcing that the name is "unit"
First part done, a UnitParameterDeclaration has been introduced that enforces the behavior. It is used in the grammar. A builder with an explicit unit as first parameter must be a UnitParameterDeclaration.
Fixed in revision 1346.
[Bookkeeping change only. Moving bugs to the new "home" of aggregator, CBI. This bug was previously in 'editor' component of EMFT.b3]