Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312571 - [Xtend] Editor does not mark errors
Summary: [Xtend] Editor does not mark errors
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: 320507
  Show dependency tree
 
Reported: 2010-05-12 06:08 EDT by Sebastian Zarnekow CLA
Modified: 2013-02-21 08:12 EST (History)
1 user (show)

See Also:
sebastian.zarnekow: indigo+


Attachments
patch for this bug an bug#292770 (5.04 KB, patch)
2011-01-10 05:14 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 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