leo/tests/expectations/parser/functions/params.out
Pranav Gaddamadugu 8d12cd6651 Rename tests
2022-09-30 10:48:47 -07:00

63 lines
1.5 KiB
Plaintext

---
namespace: Parse
expectation: Pass
outputs:
- name: ""
network: ""
expected_input: []
imports: {}
structs: {}
mappings: {}
functions:
"{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}":
annotations: []
identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}"
input:
- Internal:
identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
mode: None
type_:
Integer: U32
span:
lo: 13
hi: 14
- Internal:
identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":22}\"}"
mode: None
type_:
Integer: I32
span:
lo: 21
hi: 22
output:
- Internal:
mode: None
type_:
Integer: U8
span:
lo: 32
hi: 34
output_type:
Integer: U8
block:
statements:
- Return:
expression:
Literal:
Integer:
- U8
- "0"
- span:
lo: 48
hi: 51
span:
lo: 41
hi: 51
span:
lo: 35
hi: 54
finalize: ~
span:
lo: 2
hi: 54