Community
Participate
Working Groups
Build Identifier: 2.0.0 2.0.1 2.1.0.20111013 There is not typecheck performed in the domain model example. something like the following is missing from the domainmodeljavavalidator @Override protected Set<EReference> getTypeConformanceCheckedReferences() { return Sets.union(super.getTypeConformanceCheckedReferences(), ImmutableSet.of(DomainmodelPackage.Literals.OPERATION__BODY)); } Reproducible: Always
I solved this issue more profoundly: If an expression has a logical container, it should be evaluated no matter what the containment reference is. Thus, users of Xbase only have to associate the logical container. Currently fixing tests
Fixed in HEAD
Note: It's the expected *return* type of the expression that had to be changed, not the expected type.
Hi, i just tried yesterdays build. org.eclipse.xtext.xtext.ui.examples_2.1.0.v201110251848 a model like entity Test { op test() : String { return 1 } } still is valid in the editor but leads to a compile error in the generated java class
Fixed confusion around ILogicalContainers in HEAD. Thanks for testing.