Hi,
I noticed another strange behaviour when using rules' overriding.
1) when the call to rule (ex: myrule() ), and the two rules definition
(ex : uml.Class::myrule() and uml.Interface::myrule() ) are all in the
same file, rules' overriding works properly.
2) when the two rules definition are in the same template, but not in
the same as the call, rules' overriding doesn't work : it applies only
the latest defined rule.
Ex: file1:
classOrInterfaceWithClassifierContext.myrule()
file2:
uml.Class::myrule(){
...
}
uml.Interface::myrule(){
...
}
This way, only the rule with Interface context will apply, even when
context is Class.
Is there anyone having the same problem?