Subscript access to a non MultiDimensional property

objectscriptQuality release 
1.0.0
Id 
OS0059
Rule type 
Bug
Severity 

Blocker

Blocker
SQALE characteristic 
  • Security
    • Errors
Tags 
runtime-failure
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 ];