Files
lix/tests/functional2/lang/attrs-or/parse-okay.out.exp
T
piegamesandCommentator2.0 17f1bcfd2c libexpr: Deprecate or in non-keyword positions
Test cases courtesy of rhenrdic

Co-authored-by: Commentator2.0 <lix@crystal-cavern.systems>
Change-Id: Id8df684ddd00d07b49e1c9e68bf41ee6c0e6887c
2026-01-31 15:32:28 +01:00

30 lines
438 B
Plaintext

_type: ExprLet
attrs:
or:
_type: ExprLiteral
value: 1
valueType: Int
body:
_type: ExprSelect
attrs:
- a
default:
_type: ExprCall
args:
- _type: ExprVar
value: or
fun:
_type: ExprLambda
arg: x
body:
_type: ExprVar
value: x
e:
_type: ExprSet
attrs:
a:
_type: ExprLiteral
value: 2
valueType: Int
recursive: false