Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe0fadb
commit 561de78
Showing
4 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
cruise.umple/test/cruise/umple/compiler/DuplicateGuards.ump
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
class OtherClass { | ||
* -> 1 Another ; | ||
Integer row; | ||
Integer row2; | ||
} | ||
|
||
class Another { | ||
Integer junk; | ||
} | ||
|
||
class Statemachine { | ||
* -> 1 OtherClass other; | ||
Boolean cond; | ||
sm { | ||
s1 { | ||
event1[other.another.junk == 3] -> s3; | ||
event1[other.another.junk == 3] -> s1; | ||
event1[cond && other.row > 4] -> s2; | ||
event1[cond && other.row == 3] -> s3; | ||
event1[cond && other.row == 3] -> s1; | ||
} | ||
s3 {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters