[Xtext typesystem] Avoid type checking of unresolved references [message #1048456] |
Wed, 24 April 2013 13:46 |
Wernke zur Borg Messages: 42 Registered: December 2011 |
Member |
|
|
When using the typesystem on a grammar with cross references, a usual rule is that the type of a symbol reference is the type of the variable it references.
Of course, in case of invalid references the type cannot be determined and is evaluated to null, which results in an additional error "type of feature xxxx is undefined".
Is there a way to suppress this additional error or to tell the typesystem that there should be no type checking of unresolved references?
Please let me know if I need to post an example of what I mean.
Thanks, Wernke
[Updated on: Wed, 24 April 2013 13:49] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02902 seconds