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

Bug 312569

Summary: [Xtend] Editor does not mark syntax error
Product: [Modeling] M2T Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: XpandAssignee: Project Inbox <m2t.xpand-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 Flags: sebastian.zarnekow: indigo+
Version: 1.0.0   
Target Milestone: M6   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
fix for this bug sven.efftinge: iplog+

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