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 13:46
Wernke zur Borg is currently offline Wernke zur BorgFriend
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 13: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: Sun Dec 21 20:53:50 GMT 2014

Powered by FUDForum. Page generated in 0.02371 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software