| Summary: | Validate that getter and setter exist for @EGLProperty | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Matt Heitz <mheitz> |
| Component: | EDT | Assignee: | Project Inbox <edt.compiler-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | pharmon |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Already done Verified. |
In the program below, there should be an error on the declaration of variable a1. When both the getMethod and setMethod fields of @EGLProperty aren't specified, their values are implicitly "get" or "set" plus the name of the variable. We should validate that functions getA1 and setA1 exist. If I explicitly specify the getMethod and/or setMethod, we do validate that the functions exist. package x; program propsSimple a1 int { @EGLProperty }; function main() a1 = 2; end end