ascot diagnostics

A2357

Error: ‘{name}’ is not a parameter of {class}{hint}

A property type’s ( ... ) parameters are the type class’s own (%String(MAXLEN = 50)), and this name is none of them: misspelled, with the nearest declared names as suggestions, or a property keyword that belongs in the [ ... ] list. IRIS refuses to compile the class (Property parameter not declared). Fix the spelling, or move the keyword to the [ ... ] list.

IRIS rejects the example.

Class Demo.UnrecognizedTypeParam Extends %RegisteredObject
{

Property Name As %String(MAXLN = 50); //! A2357

}

All diagnostics