ModelDriven / Alf-Reference-Implementation

Open-source implementation of the Action Language for fUML (Alf) specification.
30 stars 2 forks source link

The check for alternative constructor validity is not implemented correctly #47

Closed seidewitz closed 7 years ago

seidewitz commented 7 years ago

The check assumes the current scope is the operation which must be a constructor. This does not work if the current scope is an activity acting as the method (subunit) of a constructor operation. The test should instead be checking if the specification of the current scope is a constructor. (Not that the check for super constructor invocation validity is implemented correctly in this way.)

seidewitz commented 7 years ago

Resolved in v1.1.0.