| Summary: | Concat of null string using ?: operator doesn't return null | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kathy Carroll <carrollk> |
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jeffdouglas |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
fixed Closing this defect. |
Expecting a null value when I use the ?: operator with a null string EGL code: program tester type BasicProgram {} function main() nullStr string? = null; valueStr string = "Red bull"; resultStr string? = nullStr ?: valueStr; if (resultStr == null ) syslib.writeStdOut("?: successful"); else syslib.writeStdOut(":? failure"); end end end