Community
Participate
Working Groups
Build Identifier: M20110210-1200 This is a regression, probably related to Bug 336235. The following Domainmodel example: entity D { } formats differently in Xtext 1.0.2 than before. Reproducible: Always Steps to Reproduce: 1. Create Domainmodel source entity D { } 2. In M20110210-1200 it formats as entity D { } 3. In prior versions it formats as entity { }
Hi Carl, I can confirm that in the domain-model-example, the formatting-rule ----- c.setLinewrap(1, 1, 2).around(f.getFeatureRule()); ----- matches ----- Entity: 'entity' name=ID ('extends' superType=JvmTypeReference)? '{' features+=Feature* '}'; ----- even thought Entity.features is an empty list. This shouldn't be the case because when Entity.features is empty the rule Feature is never called.
fixed in HEAD