Community
Participate
Working Groups
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.
Makes sense. Olivier, please check other similar statements as well.
Fixed and released in stream 2.1. All other statements look good.
Fix is also backported in 2.0.1 stream.
Verified (by running ASTVistorTest.testDoStatement())
Verified.
Verified in 2.1 M1