mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-27 12:17:35 +03:00
63 lines
2.9 KiB
Plaintext
63 lines
2.9 KiB
Plaintext
---
|
|
ns: Parse
|
|
expectation: Pass
|
|
outputs:
|
|
- name: ""
|
|
expected_input: []
|
|
imports: []
|
|
circuits: {}
|
|
functions:
|
|
"{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"/home/p/aleo/leo/parser/../tests/parser/functions/input_order_bad.leo\\\",\\\"content\\\":\\\"function x(x: u32, input) {\\\"}\"}":
|
|
annotations: []
|
|
identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"/home/p/aleo/leo/parser/../tests/parser/functions/input_order_bad.leo\\\",\\\"content\\\":\\\"function x(x: u32, input) {\\\"}\"}"
|
|
input:
|
|
- Variable:
|
|
identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":12,\\\"col_stop\\\":13,\\\"path\\\":\\\"/home/p/aleo/leo/parser/../tests/parser/functions/input_order_bad.leo\\\",\\\"content\\\":\\\"function x(x: u32, input) {\\\"}\"}"
|
|
const_: false
|
|
mutable: true
|
|
type_:
|
|
IntegerType: U32
|
|
span:
|
|
line_start: 3
|
|
line_stop: 3
|
|
col_start: 12
|
|
col_stop: 13
|
|
path: /home/p/aleo/leo/parser/../tests/parser/functions/input_order_bad.leo
|
|
content: "function x(x: u32, input) {"
|
|
- InputKeyword: "{\"name\":\"input\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":20,\\\"col_stop\\\":25,\\\"path\\\":\\\"/home/p/aleo/leo/parser/../tests/parser/functions/input_order_bad.leo\\\",\\\"content\\\":\\\"function x(x: u32, input) {\\\"}\"}"
|
|
output: ~
|
|
block:
|
|
statements:
|
|
- Return:
|
|
expression:
|
|
TupleInit:
|
|
elements: []
|
|
span:
|
|
line_start: 4
|
|
line_stop: 4
|
|
col_start: 12
|
|
col_stop: 14
|
|
path: /home/p/aleo/leo/parser/../tests/parser/functions/input_order_bad.leo
|
|
content: " return ();"
|
|
span:
|
|
line_start: 4
|
|
line_stop: 4
|
|
col_start: 5
|
|
col_stop: 14
|
|
path: /home/p/aleo/leo/parser/../tests/parser/functions/input_order_bad.leo
|
|
content: " return ();"
|
|
span:
|
|
line_start: 3
|
|
line_stop: 5
|
|
col_start: 27
|
|
col_stop: 2
|
|
path: /home/p/aleo/leo/parser/../tests/parser/functions/input_order_bad.leo
|
|
content: "function x(x: u32, input) {\n...\n}"
|
|
span:
|
|
line_start: 3
|
|
line_stop: 5
|
|
col_start: 1
|
|
col_stop: 2
|
|
path: /home/p/aleo/leo/parser/../tests/parser/functions/input_order_bad.leo
|
|
content: "function x(x: u32, input) {\n...\n}"
|