| Summary: | Missing validation when passing a null literal to a non-nullable function parameter of type any | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Brian Svihovec <svihovec> |
| Component: | EDT | Assignee: | Project Inbox <edt.compiler-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jeffdouglas, mheitz, pharmon, tww |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
fixed...see bug 368735 for details Verified in Version: 0.8.0.v201203300902-1DV-FjuJ6QMOF4nynxT88h8Ge |
Given the following EGL source: data Any?; function setData(value any in) if(value == null) data = null; else data = value; end end function main() var1 int? = null; setData(var1); setData(null); setData(123); end A validation error should be issued for setData(null).