mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 16:58:56 +00:00
note added
This commit is contained in:
parent
c8f9edc9ba
commit
67ea1fce13
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ public class Xtext2ECoreInterpretationContext {
|
|||
}
|
||||
else if (element instanceof Group) {
|
||||
Group group = (Group) element;
|
||||
//TODO Too strict. What about : foo(Bar|Foo ';')
|
||||
if (group.getAbstractTokens().size() != 1)
|
||||
throw new IllegalArgumentException("Group must have exactly one element.");
|
||||
return getCompatibleTypeNameOfAlternatives(group.getAbstractTokens().get(0));
|
||||
|
|
Loading…
Reference in a new issue