| Summary: | [Xtend] Incorrect validation errors | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Achim Demelt <achim.demelt> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | sebastian.zarnekow |
| Version: | 2.1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Achim Demelt
It's hard to tell what's going on there without a reproducable example :-/ Does it help if you change eContents to eContents() ? Just as a guess: Did you leave the Xtend editors open when you renerated your language? Did the error markers go away after a clean build with Xtend editors closes? In that case, the described behavior may be caused by bug 354910 (In reply to comment #1) > It's hard to tell what's going on there without a reproducable example :-/ I know :-( My last sentence was "I can't send you the whole grammar..." but I deleted it... (In reply to comment #2) > Does it help if you change eContents to eContents() ? No, that doesn't change anything. One more thing I notices: The quickfix popup for the "Couldn't resolve reference" errors shows "Change to eContents". Twice. Applying the quickfix doesn't help, though. (In reply to comment #3) > Just as a guess: > > Did you leave the Xtend editors open when you renerated your language? > Did the error markers go away after a clean build with Xtend editors closes? > > In that case, the described behavior may be caused by bug 354910 No, all editors are closed when run the workflow. (In reply to comment #5) > No, all editors are closed when run the workflow. If you leave them closed, does the error go away after a clean build? (In reply to comment #6) > (In reply to comment #5) > > No, all editors are closed when run the workflow. > > If you leave them closed, does the error go away after a clean build? Yes, all errors *in the problem view* go away after a clean build. Error *markers* in already open Xtend editors remain. If no editors were open, then I also have no error markers, of course. Oh, and another discovery: When everything is clean, I open the Xtend editor (clean, no error markers), I then update the file (just one blank, no actual change in content), and when the builder starts, the error reappears. Both in the problem view and the editor. A rebuild once again fixes the problem view, but the markers in the still opened editor remain. This bug no longer occurs in Xtext 2.2.0. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |