| Summary: | Error in generated Java when return statement doesn't specify returnValue | ||
|---|---|---|---|
| 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 Verified in 20111117 build. |
program MyProgram myInt int; function main() myInt = myReturnTest(); end function myReturnTest() returns(int) myInt int; return; end end Causes error in generated Java: This method must return a result of type int Same program in RBD generates OK. It should use the default value of the type in returns(int).