Bug 21828

Summary: Possible problem in DoStatement#accept0(...)
Product: [Eclipse Project] JDT Reporter: Luc Bourlier <eclipse>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: All   
Whiteboard:

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