You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type Foo:
someBoolean boolean (0..1)
alwaysFalse boolean (1..1)
func ExpressionWithEmptyBoolean:
inputs:
foo Foo (1..1)
output:
result boolean (1..1) // output cardinality validation should validate that expression resolves to optional
set result:
foo -> someBoolean or foo -> alwaysFalse // if foo -> someBoolean is empty, then function resolves to true
The text was updated successfully, but these errors were encountered:
For type conditions, resolving to empty is treated in the same way as resolving to true. In the below example, if attr is False then the condition returns empty which is treated as success (which really it should be treated as not applicable?).
type Foo:
someBoolean boolean (0..1)
alwaysFalse boolean (1..1)
attr boolean (1..1)
condition SomeCondition:
if attr = True
then alwaysFalse
The text was updated successfully, but these errors were encountered: