Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Diagnosing ambiguous references
Diagnosing ambiguous references [message #776077] Sat, 07 January 2012 11:28 Go to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

The invocation of getLinkingService().getLinkedObjects within
LazyLinkingResource.getEObject() does not appear to support ambiguities
completely.

getEObject() may return a list of ambiguous alternatives but the
subsequent testing then throws an untidy IllegalStateException, when it
would be much more user friendly to return some form of "Ambiguous
reference" diagnostic.

Is there a way to workaround this limitation other than my current
approach just returns an empty list and so reports an "Unresolved ..."
whenever the true problem is "Multiply resolved ...."

Regards

Ed Willink
Re: Diagnosing ambiguous references [message #776903 is a reply to message #776077] Mon, 09 January 2012 13:46 Go to previous messageGo to next message
Ingo Meyer is currently offline Ingo MeyerFriend
Messages: 162
Registered: July 2009
Senior Member
+1 for this one.
Re: Diagnosing ambiguous references [message #777554 is a reply to message #776903] Tue, 10 January 2012 17:28 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
On 09/01/2012 13:46, Ingo Meyer wrote:
> +1 for this one.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=368280 raised
Previous Topic:qualified name uniqueness
Next Topic:[xtend] Line-Endings
Goto Forum:
  


Current Time: Fri Apr 26 03:12:59 GMT 2024

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

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

Back to the top