Community
Participate
Working Groups
Build Identifier: 2.1.0 We have a base grammar like this one grammar org.xtext.example.otherdsl.OtherDsl with org.eclipse.xtext.common.Terminals generate otherDsl "http://www.xtext.org/example/otherdsl/OtherDsl" NamedElement: name=ID ; and a grammar like grammar org.xtext.example.mydsl.MyDsl with org.eclipse.xtext.common.Terminals import "platform:/resource/org.xtext.example.otherdsl/src-gen/org/xtext/example/otherdsl/OtherDsl.ecore" as OTHER generate myDsl "http://www.xtext.org/example/mydsl/MyDsl" Model: A | B | C; A: "a" name=ID ; B: "b" name=ID ; C: "c" name=ID ; Dummy returns OTHER::NamedElement: A | B | C ; This worked without any problems in 2.0.0 In 2.1.0 the Editor shows error markers for the three names with the error message Cannot find compatible type for features The workflow runs anyway. the content assist suggests name as a feature too. The generated ecore is how i want int to be Reproducible: Always
Does it work if you use the nsURI to import the EPackage?
Same problem using the nsURI
Fixed in master and maintenance.