| Summary: | [editor] Spurious error log warning for Duplicate | ||
|---|---|---|---|
| Product: | [Modeling] OCL | Reporter: | Ed Willink <ed> |
| Component: | Core | Assignee: | OCL Inbox <mdt-ocl-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.2.0 | ||
| Target Milestone: | RC2 | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
|
Description
Ed Willink
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 |