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

Bug 312571

Summary: [Xtend] Editor does not mark errors
Product: [Modeling] M2T Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: XpandAssignee: Project Inbox <m2t.xpand-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: darius.jockel
Version: 1.0.0Flags: sebastian.zarnekow: indigo+
Target Milestone: M6   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on:    
Bug Blocks: 320507    
Attachments:
Description Flags
patch for this bug an bug#292770 sven.efftinge: iplog+

Description Sebastian Zarnekow CLA 2010-05-12 06:08:51 EDT
Snippet:

import metamodel;

Model model(Type this, Unknown u):
	eContainer;

WhatsThis totallyBroken(Unkown this, UnknownAsWell u):
	dontKnow.doesNotExist + missingSemicolon

Only the first occurrence of Unknown is marked with an error. The second extension which is seriously broken will not be highlighted at all.
Comment 1 Darius Jockel CLA 2010-05-17 02:52:25 EDT
You will get more error markers if you change the order of the extensions ;-)
The extension editor have problems to parse the 'last' extension of a file.

(In reply to comment #0)
> Snippet:
> 
> import metamodel;
> 
> Model model(Type this, Unknown u):
>     eContainer;
> 
> WhatsThis totallyBroken(Unkown this, UnknownAsWell u):
>     dontKnow.doesNotExist + missingSemicolon
> 
> Only the first occurrence of Unknown is marked with an error. The second
> extension which is seriously broken will not be highlighted at all.
Comment 2 Benedikt Niehues CLA 2011-01-10 05:14:01 EST
Created attachment 186366 [details]
patch for this bug an bug#292770

this patch fixes this bug and also bug#292770
Comment 3 Sebastian Zarnekow CLA 2011-02-06 11:38:40 EST
Patch applied, thanks Benedikt.
Comment 4 Karsten Thoms CLA 2013-02-21 08:12:40 EST
Bug resolved before Xpand 1.2 release date => Closing