| Summary: | Error in generated Java when case of label doesn't match | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | broy2 |
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jeffdouglas, margolis |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
fixed Man, I like the way you work! Verified in 20111117 build. |
In the following code, the case is different for the label. myLabel1: vs exit mylabel1; This causes an error in the generated Java. The label EzeLabel_mylabel1 is missing program labelTest type BasicProgram{} function main() myReturnTest(); end function myReturnTest() returns(any) i int = 3; myLabel1: while(i == 3) sysLib.writeStdOut("labeled"); for(x int from 1 to 5) syslib.writeStdOut("in for loop for x = " + x); if(x == 4) syslib.writeStdOut("x = " + x); i = 4; exit mylabel1; end end end syslib.writestdout("leaving"); end end