CDISP0438E
Only the static type definitions can be accessed with dot notation, but the type name type is not static.
[namespace::]composite.typeName definition is valid only if the typeName is defined as a static type.static.Only the static type definitions can be accessed with dot notation, but the type name type is not static.
[namespace::]composite.typeName definition is valid only if the typeName is defined as a static type.static.