ascot diagnostics

A2357

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

A property’s type carries a parameter the type class does not declare. The ( ... ) after the type sets property parameters, such as MAXLEN of %String. The name is misspelled, or it is a property keyword, which belongs in the [ ... ] list. IRIS refuses to compile the class (ERROR #5480: 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