Community
Participate
Working Groups
The following code shows the problem: switch (state) { case 4: double M0,M1; } The VariableDeclarationStatement for M0 and M1 should have M0 and M1 as VariableDeclarationFragments. Instead it splits into 2 VariableDeclarationStatements, one for M0 and one for M1. They have both the same startPosition an the same length.
I tried with M5 build and I could not reproduce. Could you please specify your steps to reproduce and your build id?
Closing. Reopen once you provided the required information. Added regression tests org.eclipse.jdt.core.tests.dom.ASTConverterTestAST3_2.test0632/0633
It seems to work with 3.2M5. Sorry for bothering you with a bug already fixed :-/
Reopen to close. It looks like bug 109646. I'd like to get the build id to be sure this is a dup. Thanks.
it works with build id 20060217-1115. the code from bug #109646 also works.
I wanted to know what was the build that you used when you reported the defect. Thanks.
Closing as dup of bug 109646. *** This bug has been marked as a duplicate of 109646 ***
the build was Version: 3.1.0 Build id: I20050627-1435 i know its pretty old, but downloading the newest over modem .... you know it ;-)
Thanks. This confirms it is a dup of bug 109646.