-
Notifications
You must be signed in to change notification settings - Fork 4
Implement a patient strategy for unresolveable proxy EObject #264
Comments
Is this a prerequisite of solving Oszkar's issue? |
Yes, it is. |
I also doubt that this is an Xtext-specific corner case, it rather seems to be something that is allowed by EMF in general and thus EMF-IncQuery should be prepared to support it. |
@istvanrath unresolved != unresolvable. These proxies are unresolvable, which is something we were not prepared for so far. In fact, there does not seem to be any way to detect when these proxies become resolvable, except when they are actually resolved. So far, Xtext seems to be nice enough to proactively resolve them. |
suspended until they are actually resolved
Solution attempt failed: neither this resolve message, nor the corresponding "set" is reliable enough. Culprit is org.eclipse.xtext.linking.lazy.LazyLinkingResource:
This is bad news. |
I updated my branch but I still have an exception that the previous commit suppose to clean. |
@OszkarSemerath if you recall our discussion, we have agreed that we cannot solve this issue without patching Xtext. Obviously, the previous commit is not supposed to solve this either, and it does not claim to (the commit comment even calls the attempt doomed). There is nothing surprising in your findings, move along... |
I have filed a bug report with Xtext: Let's hope for the best. |
Currently EIQ attempts to resolve all proxies, and ignore unresolvable ones (as wall as the spurious RESOLVE notifications). Problem: some initially unresolvable proxies may become resolvable later after all.
Candidate strategy:
Open question:
Raison d'être: Xtext inserts some unresolvable proxies that will magically become resolvable later, and will be resolved with RESOLVE notfications. Lack of RESOLVE support results in "Duplicate deletion" exceptions.
The text was updated successfully, but these errors were encountered: