SysML 2.0b3 FTF Avatar
  1. OMG Issue

SYSML2_ — Interface usage cannot redefine inherited attributes in textual syntax

  • Key: SYSML2_-264
  • Status: open  
  • Source: Budapest University of Technology and Economics ( Dr. Vince Molnar)
  • Summary:

    For some reason, the textual syntax for interface usage limits the set of elements allowed in its body (see InterfaceBody in clause 8.2.2.14.1). This prevents users from redefining inherited attributes in the usage:

    interface myInterface : MyInterfaceDef // MyInterfaceDef defines attribute x
      connect end1 ::> end1InOuterScope
      to end2 ::> end2InOuterScope {
        redefines x = 5; // syntax error
      }
    
  • Reported: SysML 2.0b2 — Mon, 29 Jul 2024 14:39 GMT
  • Updated: Mon, 29 Jul 2024 17:31 GMT