Bug 21828 - Possible problem in DoStatement#accept0(...)
Summary: Possible problem in DoStatement#accept0(...)
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-23 15:23 EDT by Luc Bourlier CLA
Modified: 2002-09-20 09:30 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luc Bourlier CLA 2002-07-23 15:23:55 EDT
It seems to me that children are visited backward.

It visits the expression and next the body. I expected it visits the body and
then the expression, in the same order as in the code.
Comment 1 Philipe Mulet CLA 2002-07-23 17:33:36 EDT
Makes sense. Olivier, please check other similar statements as well.
Comment 2 Olivier Thomann CLA 2002-07-24 09:37:13 EDT
Fixed and released in stream 2.1. All other statements look good.
Comment 3 Philipe Mulet CLA 2002-07-25 07:44:56 EDT
Fix is also backported in 2.0.1 stream.
Comment 4 Jerome Lanneluc CLA 2002-08-19 11:16:50 EDT
Verified (by running ASTVistorTest.testDoStatement())
Comment 5 David Audel CLA 2002-08-20 12:23:08 EDT
Verified.
Comment 6 David Audel CLA 2002-09-20 09:30:59 EDT
Verified in 2.1 M1