-
Key: KERML-165
-
Status: open
-
Source: Dassault Systemes ( Mr. Andrius Armonas)
-
Summary:
If you look at the following sample:
1 a = 2 ^ 3 ^ 4;
2 a = (2 ^ 3) ^ 4;
3 a = 2 ^ (3 ^ 4);Both lines 1 and 2 will generate the same model in SysML v2 pilot implementation.
This means that exponentiation operator seems to be left-associative, which is unusual, as exponentiation is supposed to be right-associative. -
Reported: KerML 1.0b1 — Thu, 14 Sep 2023 15:06 GMT
-
Updated: Mon, 8 Apr 2024 21:42 GMT
KERML — Exponentiation should be right-associative
- Key: KERML-165
- OMG Task Force: Kernel Modeling Language (KerML) 1.0 FTF