Test cases courtesy of rhenrdic Co-authored-by: Commentator2.0 <lix@crystal-cavern.systems> Change-Id: Id8df684ddd00d07b49e1c9e68bf41ee6c0e6887c
30 lines
438 B
Plaintext
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
|