ascot diagnostics

A3119

Error: Member ‘{name}’ is defined twice

Two members of one kind share a name (two properties Name, say), so one would silently replace the other. IRIS refuses to load the class (Element name conflict). The later declaration is marked: rename it, or merge the two.

IRIS rejects the example.

Class Demo.DuplicatedMemberName Extends %RegisteredObject
{

Property Name As %String;

Property Name As %String(MAXLEN = 100); //! A3119

}

All diagnostics