Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312569 - [Xtend] Editor does not mark syntax error
Summary: [Xtend] Editor does not mark syntax error
Status: CLOSED FIXED
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: M6   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 05:59 EDT by Sebastian Zarnekow CLA
Modified: 2013-02-21 08:11 EST (History)
0 users

See Also:
sebastian.zarnekow: indigo+


Attachments
fix for this bug (1.66 KB, patch)
2011-01-10 05:15 EST, Benedikt Niehues CLA
sven.efftinge: iplog+
Details | Diff

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:59:43 EDT
1) Starting point:

import metamodel;

Model model(Type this):
	eContainer;
	
List[Entity] entities(Model this) :
	types.typeSelect(Entity);

2) Add the following syntax error by changing the extension "model":

Model model(Type this):
	eContainer + syntax;

3) Save the file - the linking error is highlighted as expected

4) Change the model extension as follows:

Model model(Type this :
	eContainer;

5) Save the file. The syntax error will flicker for a moment and then disappear. Nothing the problems view.
Comment 1 Benedikt Niehues CLA 2011-01-10 05:15:06 EST
Created attachment 186367 [details]
fix for this bug

this patch fixes this bug
Comment 2 Sebastian Zarnekow CLA 2011-02-06 11:38:13 EST
Patch applied, thanks Benedikt.
Comment 3 Karsten Thoms CLA 2013-02-21 08:11:34 EST
Bug resolved before Xpand 1.2 release date => Closing