Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359427 - [tooling] The Acceleo interpreter can report more errors than needed
Summary: [tooling] The Acceleo interpreter can report more errors than needed
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 10:10 EDT by Stephane Begaudeau CLA
Modified: 2011-09-30 10:46 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephane Begaudeau CLA 2011-09-29 10:10:07 EDT
Open the interpreter, type a big (10 lines min) invalid piece of Acceleo code that produces a compilation error. For example, copy a whole module (the imported templates will not be found).

Evaluate the expression quickly several times in a row. If your expression viewer should display 6 errors, you can make 6, 12, 18, 24, etc. errors appears.
Comment 1 Laurent Goubet CLA 2011-09-30 10:46:08 EDT
A fix for this has just been pushed on master. There was a possibility that evaluation and compilation thread could be given enough time to complete before the cancellation came ... in which case the asynchronous update of the interpreter messages was launched and never cancelled.