Error: MultiDimensional property ‘{name}’ takes a subscript, not empty parentheses
..X() names a node of the MultiDimensional property X without the subscripts that
pick one; ..X without parentheses is the property’s own value. IRIS throws
<OBJECT DISPATCH> (“missing subscripts”) on reading ..X(), and refuses to compile
Set ..X() = v. Give it a subscript, or drop the parentheses.
IRIS compiles the example, and do ##class(Demo.NodeWithoutSubscripts).%New().Call() raises <OBJECT DISPATCH> when it runs.
Class Demo.NodeWithoutSubscripts Extends %RegisteredObject
{
Property Cache As %String [ MultiDimensional ];
Method Call() As %String
{
Quit ..Cache() //! A3942
}
}