Hi,
I'm using the template overrides(very useful) and I found a weird behavior that I don't explain. Maybe a bug, maybe not.
Let's consider the following use case :
[module A('metamodel.uri')/]
[template public foo(seq : Sequence(OclAny)) /]
[template public bar(seq : OclAny) /]
[template public foobar(any : OclAny, seq : Sequence(OclAny))/]
and
[module B('metamodel.uri') extends A /]
[import mypackage::A /]
[template public foo(seq : Sequence(OclAny)) overrides foo]
foo
[/template]
[template public bar(any : OclAny) overrides bar]
bar
[/template]
[template public foobar(any : OclAny, seq : Sequence(OclAny)) overrides foobar]
foobar
[/template]
After saving, the editor complains about the first and the third templates in module B, those with Sequence() parameters. What's wrong with the sequences ? Any idea or suggestion ?
Regards,
Sebastien