| Summary: | Error in generated Java on writeStdout(text) when text is not string | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | broy2 |
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | mheitz |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
I just tried it using the latest code from CVS, and the problem is gone. Should be OK in the next build too. Forgot to resolve this when I added the previous comment. Verified in 20110920 build. |
20110915 build There's an error in the generated Java for the following code: program mismatch type BasicProgram {} myDec decimal(2); myString string; function main() myDec = 9; myString = myDec; SysLib.writeStdout(myDec); end end Type mismatch: cannot convert from BigDecimal to String This should work. I can assign decimal to string. writeStdout(text) text -> Input can be any variable or expression that is assignment compatible with the STRING type.