melange
melange copied to clipboard
Model type inference doesn't work with imported model type definitions
When I write
package org.gemoc.xfsm
import org.gemoc.sample.legacyfsm.fsm.FSMMT
language XFSM {
syntax "platform:/resource/org.gemoc.sample.legacyfsm.fsm.model/model/fsm.ecore"
with org.gemoc.sample.legacyfsm.fsm.k3dsa.*
}
the ModelType inference doesn't work even if I correctly set the project dependencies and add an import to the modeltype to make it visible in the java context.
The inference currently works only if the definition is local
package org.gemoc.xfsm
language FSMLocal {
syntax "platform:/resource/org.gemoc.sample.legacyfsm.fsm.model/model/fsm.ecore"
}
language XFSM {
syntax "platform:/resource/org.gemoc.sample.legacyfsm.fsm.model/model/fsm.ecore"
with org.gemoc.sample.legacyfsm.fsm.k3dsa.*
}