File tree Expand file tree Collapse file tree
org.omg.kerml.xpect.tests/src/org/omg/kerml/xpect/tests/validation Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ //*
2+ XPECT_SETUP org.omg.kerml.xpect.tests.validation.KerMLValidationTest
3+ ResourceSet {
4+ ThisFile {}
5+ File {from ="/library/Base.kerml"}
6+ File {from ="/library/Occurrences.kerml"}
7+ File {from ="/library/Objects.kerml"}
8+ File {from ="/library/Performances.kerml"}
9+ }
10+ Workspace {
11+ JavaProject {
12+ SrcFolder {
13+ ThisFile {}
14+ File {from ="/library/Base.kerml"}
15+ File {from ="/library/Occurrences.kerml"}
16+ File {from ="/library/Objects.kerml"}
17+ File {from ="/library/Performances.kerml"}
18+ }
19+ }
20+ }
21+ END_SETUP
22+ */
23+ package RedefinitionEnd {
24+ classifier A {
25+ end feature e[1];
26+ }
27+
28+ classifier B :> A {
29+ // XPECT errors ---> "Redefining feature must be an end feature" at "e"
30+ feature :>> e;
31+ }
32+
33+ }
You can’t perform that action at this time.
0 commit comments