Community
Participate
Working Groups
While editing an OCLinEcore file with a class invariant. Copy and Paste the invariant. Duplicate warning message appears in Error Log.
Also for invariant set: Set{1,2,3,5..7,8,10..6}; invariant set: Set<Integer>{1,2,3}->size() = 3; invariant loop: Sequence{1}->exists('xyzzy'); the duplicate set gives a line 0 IllegalArgumentException: The 'no duplicates' constraint is violated (see logs for details) but still provides syntax checking amongst which is that exists is unresolved for an unknown type.
M3: cannot reproduce any error log messages, but saving invariant set: Set{1,2,3,5..7,8,10..6}; invariant set: Set<Integer>{1,2,3}->size() = 3; as ecore loses the first one. Time to a) make AST validation work b) suppress Ecore save when an error present
Validation constraints added. Pushed to master for RC2.
CLOSED after more than a year in RESOLVED state.
and CLOSE