Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312564 - [Check] Irritating error markers in editor
Summary: [Check] Irritating error markers in editor
Status: CLOSED WONTFIX
Alias: None
Product: M2T
Classification: Modeling
Component: Xpand (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 05:50 EDT by Sebastian Zarnekow CLA
Modified: 2020-04-30 13:53 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.