| Summary: | [Linker] Linker gets confused with actions | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Jan Koehnlein <jan> | ||||
| Component: | Xtext | Assignee: | Jan Koehnlein <jan> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | tmf.xtext-inbox | ||||
| Version: | 1.0.0 | Flags: | jan:
helios+
|
||||
| Target Milestone: | RC1 | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Jan Koehnlein
Created attachment 168714 [details]
Patch for the Linker
Added a patch:
org.eclipse.xtext.linking.impl.Linker.ensureLinked(EObject, IDiagnosticProducer, CompositeNode, Set<EReference>) did not stop ascending in the node model when the parent had another semantic model set.
As the same condition was correct in the sibling class LazyLinker, I extracted the condition into a method of the superclass.
Test included.
Renamed the method to shouldCheckParentNode, added JavaDocs and committed. Closing bug which were set to RESOLVED before Eclipse Neon.0. |