mirror of
https://github.com/AleoHQ/leo.git
synced 2024-09-21 20:18:09 +03:00
remove unsized array parser tests
This commit is contained in:
parent
1a45295372
commit
6a33035257
@ -1,68 +0,0 @@
|
||||
---
|
||||
namespace: Parse
|
||||
expectation: Pass
|
||||
outputs:
|
||||
- name: ""
|
||||
expected_input: []
|
||||
import_statements: []
|
||||
imports: {}
|
||||
aliases: {}
|
||||
circuits: {}
|
||||
global_consts: {}
|
||||
functions:
|
||||
"{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"\\\",\\\"content\\\":\\\"function x(x: [u8; _]) {\\\"}\"}":
|
||||
annotations: {}
|
||||
identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"\\\",\\\"content\\\":\\\"function x(x: [u8; _]) {\\\"}\"}"
|
||||
input:
|
||||
- Variable:
|
||||
identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":12,\\\"col_stop\\\":13,\\\"path\\\":\\\"\\\",\\\"content\\\":\\\"function x(x: [u8; _]) {\\\"}\"}"
|
||||
const_: false
|
||||
mutable: true
|
||||
type_:
|
||||
Array:
|
||||
- IntegerType: U8
|
||||
- - value: "0"
|
||||
span:
|
||||
line_start: 3
|
||||
line_stop: 3
|
||||
col_start: 12
|
||||
col_stop: 13
|
||||
path: ""
|
||||
content: "function x(x: [u8; _]) {"
|
||||
const_: false
|
||||
output: ~
|
||||
core_mapping: ~
|
||||
block:
|
||||
statements:
|
||||
- Return:
|
||||
expression:
|
||||
TupleInit:
|
||||
elements: []
|
||||
span:
|
||||
line_start: 4
|
||||
line_stop: 4
|
||||
col_start: 12
|
||||
col_stop: 14
|
||||
path: ""
|
||||
content: " return ();"
|
||||
span:
|
||||
line_start: 4
|
||||
line_stop: 4
|
||||
col_start: 5
|
||||
col_stop: 14
|
||||
path: ""
|
||||
content: " return ();"
|
||||
span:
|
||||
line_start: 3
|
||||
line_stop: 5
|
||||
col_start: 24
|
||||
col_stop: 2
|
||||
path: ""
|
||||
content: "function x(x: [u8; _]) {\n ...\n}"
|
||||
span:
|
||||
line_start: 3
|
||||
line_stop: 5
|
||||
col_start: 1
|
||||
col_stop: 2
|
||||
path: ""
|
||||
content: "function x(x: [u8; _]) {\n ...\n}"
|
@ -1513,53 +1513,6 @@ outputs:
|
||||
col_stop: 14
|
||||
path: ""
|
||||
content: "let (x,) = ();"
|
||||
- Definition:
|
||||
declaration_type: Let
|
||||
variable_names:
|
||||
- mutable: true
|
||||
identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":5,\\\"col_stop\\\":6,\\\"path\\\":\\\"\\\",\\\"content\\\":\\\"let x: [char; _] = \\\\\\\"Hello, World!\\\\\\\";\\\"}\"}"
|
||||
span:
|
||||
line_start: 1
|
||||
line_stop: 1
|
||||
col_start: 5
|
||||
col_stop: 6
|
||||
path: ""
|
||||
content: "let x: [char; _] = \"Hello, World!\";"
|
||||
parened: false
|
||||
type_:
|
||||
Array:
|
||||
- Char
|
||||
- - value: "0"
|
||||
value:
|
||||
Value:
|
||||
String:
|
||||
- - Scalar: 72
|
||||
- Scalar: 101
|
||||
- Scalar: 108
|
||||
- Scalar: 108
|
||||
- Scalar: 111
|
||||
- Scalar: 44
|
||||
- Scalar: 32
|
||||
- Scalar: 87
|
||||
- Scalar: 111
|
||||
- Scalar: 114
|
||||
- Scalar: 108
|
||||
- Scalar: 100
|
||||
- Scalar: 33
|
||||
- span:
|
||||
line_start: 1
|
||||
line_stop: 1
|
||||
col_start: 20
|
||||
col_stop: 35
|
||||
path: ""
|
||||
content: "let x: [char; _] = \"Hello, World!\";"
|
||||
span:
|
||||
line_start: 1
|
||||
line_stop: 1
|
||||
col_start: 1
|
||||
col_stop: 35
|
||||
path: ""
|
||||
content: "let x: [char; _] = \"Hello, World!\";"
|
||||
- Definition:
|
||||
declaration_type: Let
|
||||
variable_names:
|
||||
|
@ -1,8 +0,0 @@
|
||||
/*
|
||||
namespace: Parse
|
||||
expectation: Pass
|
||||
*/
|
||||
|
||||
function x(x: [u8; _]) {
|
||||
return ();
|
||||
}
|
@ -99,7 +99,4 @@ let (x,y,) = ();
|
||||
|
||||
let (x,) = ();
|
||||
|
||||
|
||||
let x: [char; _] = "Hello, World!";
|
||||
|
||||
let x: [[u8; 2]; 2] = [[0,0], [0,0]];
|
||||
|
Loading…
Reference in New Issue
Block a user