Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » dangling references on reparse of a resource
dangling references on reparse of a resource [message #843669] Fri, 13 April 2012 08:55
Ronald Krijgsheld is currently offline Ronald KrijgsheldFriend
Messages: 41
Registered: November 2010
Member
Hello all,

I have a problem with the following sitation. I have to files a.dc and b.dc with contents shown below. So, the statement oneB.oneA.name indirectly references back to the name within class A itself.

When I type a space in the editor in a.dc the I get a name in oneB.oneA.name red underlined with the message that it is a dangling reference. from what I can tell from tracing it looks that oneA within oneB is still resolved to an old one. But I am not yet sure about this. Only a clean solves the problem.

Where could/should I look to fix this?

a.dc:
package X;
class A {
    private String name;
    private B oneB;

    name := oneB.oneA.name;
}


b.dc:
package X;
class B {
   private String name; 
   private A  oneA;
}
Previous Topic:Validating JvmType imports
Next Topic:Can I open a Xtext editor for a element tree contained in another model?
Goto Forum:
  


Current Time: Thu Apr 18 15:05:17 GMT 2024

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

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

Back to the top