This new update has better defcomp
function detection in SkySpark 3.0.21.
It also adds a workaround for a bug in newer (v3.0.22+) SkySpark versions.
As part of the encryption procedure, Axonator relies on a feature of SkySpark to read (and re-generate) your Axon code. It was identified (with the help of Group14 Engineering) that a particular expression is not handled correctly by SkySpark.
The new workaround checks for this (and any other) dodgy interpretation of Axon code by SkySpark and, if found, logs a warning and falls back to an older method of Axon parsing.
Details:
Axon code that combines an operation with an if
statement requires brackets (parenthesis) to be parsed correctly.
expr : 1 + (if (true) 2 else 3)
The issue, is that statements such as these lose their surrounding brackets when read by SkySpark, creating an invalid Axon expression.
expr : 1 + if (true) 2 else 3
SkyFoundry are aware of the issue and will fix it for SkySpark 3.0.27 (see SkyFoundry support tickets 1703 and 1140).
Thanks,
Steve.