Skip to content

Commit

Permalink
BUGFIX: from.name in languagebuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
François Boschet committed Aug 28, 2015
1 parent 82a6819 commit 64725c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ class LanguageBuilder extends DispatchMelangeProcessor{
return;

mappingRules.forEach[ packageRule |
val sourcePack = if(modelRoot.name == packageRule.from) modelRoot else modelRoot.findSubPackage(packageRule.from.name.substring(packageRule.from.name.indexOf(".")+1))
val sourcePack = if(modelRoot.name == packageRule.from.name) modelRoot else modelRoot.findSubPackage(packageRule.from.name.substring(packageRule.from.name.indexOf(".")+1))
packageRule.classes.forEach[classRule |
sourcePack.EClassifiers.filter(EClass).filter[name == classRule.from].forEach[ clazz |

Expand Down

0 comments on commit 64725c9

Please sign in to comment.