Skip to content

Commit

Permalink
Fix allSemantics recursive calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Degueule committed Aug 3, 2015
1 parent a4c2e67 commit 1e221f5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ class LanguageExtensions
tmp.addAll(
l.operators.map[op |
if (op instanceof Slice)
op.slicedLanguage.semantics
op.slicedLanguage.allSemantics
else if (op instanceof Merge)
op.mergedLanguage.semantics
op.mergedLanguage.allSemantics
else
newArrayList
].flatten
)
tmp.addAll(l.superLanguages.map[semantics].flatten)
tmp.addAll(l.superLanguages.map[allSemantics].flatten)

val res = newArrayList
tmp.forEach[a1 |
Expand Down

0 comments on commit 1e221f5

Please sign in to comment.