Subscript access to a non MultiDimensional property
objectscriptQuality release
Id
OS0059
Rule type
Bug
Severity
Blocker
Blocker
SQALE characteristic
- Security
- Errors
Remediation function
Constant/issue
Remediation cost
10min
Consider this code:
Class Fubar { Property foo; Method m() { set i%foo("bar") = "baz" } }
This code will fail at runtime, since the foo property is not declared as MultiDimensional. It should be declared as such:
Property foo [ Multidimensional ];