Community
Participate
Working Groups
Build Identifier: Xtext 2.0.1 Xtend2: def dispatch EObject getField(Iterable<EObject> features, String fName) { ==> if (!features.nullOrEmpty) return val fields = getFeatures(features.filter(typeof(Attribute)).filter(typeof(EObject)), fName) if (!fields.nullOrEmpty) return fields.head val map = getMap(features.filter(typeof(Mapping)), fName) if (map != null) map.type } Java: protected EObject _getField(final Iterable<EObject> features, final String fName) { EObject _xblockexpression = null; { boolean _isNullOrEmpty = IterableExtensions.isNullOrEmpty(features); boolean _operator_not = BooleanExtensions.operator_not(_isNullOrEmpty); if (_operator_not) { bug ==> return; } Iterable<Attribute> _filter = IterableExtensions.<Attribute>filter(features, com.csg.cs.tools.mdgen.icm.icmDsl.Attribute.class); Reproducible: Always Steps to Reproduce: 1.see details 2. 3.
A validation rule is missing here.
pushed to master
Closing all bugs that were set to RESOLVED before Neon.0