KerML 1.0b3 FTF Avatar
  1. OMG Issue

KERML_ — Constructor invocation expressions are semantically inconsistent

  • Key: KERML_-132
  • Status: open  
  • Source: Model Driven Solutions ( Mr. Ed Seidewitz)
  • Summary:

    8.4.4.9.4 Invocation Expressions states that:

    An InvocationExpression may also have the form T(e1, e2, ...), where the invoked Type T is not a Function. In this case, the InvocationExpression acts as a constructor for an instance of the Type T.

    The semantics are then that such a constructor expression is both typed by T and a subset of Performances::evaluations. Now, it is allowable for T to be a data type or a structure, that is, for it to directly or indirectly specialize Base::DataValue or Objects::Object). But this is a semantic inconsistency, because Performance (a generalization of evaluations) is disjoint with both DataValue and Object.

  • Reported: KerML 1.0b2 — Mon, 16 Dec 2024 22:41 GMT
  • Updated: Mon, 16 Dec 2024 23:03 GMT