Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » [Xtext typesystem] Avoid type checking of unresolved references
[Xtext typesystem] Avoid type checking of unresolved references [message #1048456] Wed, 24 April 2013 09:46
Wernke zur Borg is currently offline Wernke zur Borg
Messages: 9
Registered: December 2011
Junior 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 09:49]

Report message to a moderator

Previous Topic:Different project with different extension classes
Next Topic:[Xtext] Problem with basic XBase tutorial
Goto Forum:

Current Time: Sat Jul 12 14:24:08 EDT 2014

Powered by FUDForum. Page generated in 0.02825 seconds