Mentions légales du service

Skip to content

Fix #13: conditional values `if .. then .. else ..`

Thierry Martinez requested to merge fix.13.if_then_else into main

This commit adds values of the form if .. then .. else ...

In the following example, y gets the value 0 in the branch b = false, where x is not defined.

* b in [false, true];
* if b:
  - x = 1;
* y = if defined(x) then x else 0;"

Merge request reports