Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312564

Summary: [Check] Irritating error markers in editor
Product: [Modeling] M2T Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: XpandAssignee: Project Inbox <m2t.xpand-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sebastian Zarnekow CLA 2010-05-12 05:50:09 EDT
Snippet:

context Model ERROR "No entities defined" :
	types.exists(foo|e.metaType == e.metaType));

Expected:
'Cannot resolve reference to "e"' when hovering over the text snippet.

but got:
Boolean type expected! was : null. The problems view shows both errors and the annotation hover in the gutter, too.
	
========

Snippet
context Model ERROR "No entities defined" :
	types.exists(foo|Entity.isInstance(
		e.metaType == e.metaType ? foo : foo));

Expected:
Cannot resolve reference to "e" on both e's but only the second is occurence is marked.

========

Snippet:
context Model ERROR "No entities defined" :
	types.exists(foo|Entity.isInstance(e));

Expected:
Marker for the unresolvable 'e' but the marker highlights the complete expression which may become quite complex.
Comment 1 Karsten Thoms CLA 2020-04-30 13:53:59 EDT
This is a batch close of open M2T Xpand bugs. It is not planned work on this component in the foreseeable future. If you think this issue needs to be solved and you plan to contribute a fix then feel free to reopen it.