Rename tests

This commit is contained in:
Pranav Gaddamadugu 2022-09-30 10:48:47 -07:00
parent 99ec270f8a
commit 8d12cd6651
77 changed files with 145 additions and 145 deletions

View File

@ -19,7 +19,7 @@ namespace: Parse
expectation: Pass
*/
circuit X {
struct X {
x: u32,
y: u32,
}

View File

@ -10,7 +10,7 @@ function main() {
return foo.x0 + bar.x255;
}
circuit Foo {
struct Foo {
x0: u8;
x1: u8;
x2: u8;

View File

@ -10,7 +10,7 @@ type V8fkp = u128;
const vxlan = 13658i16;
circuit sylcl {
struct sylcl {
bTxd7: bool,
tfTQr: bool,
l_Dfk: u32,
@ -100,7 +100,7 @@ function xGEs (
return eLHo5;
}
circuit L9Snz {
struct L9Snz {
function PC0R (
const jevo: address,
@ -234,7 +234,7 @@ function BHZjx (
return WUY_d.0.2.2;
}
circuit GzzO {
struct GzzO {
RAyvy: char,
SGgTI: i16,
AWm8P: char,

View File

@ -63,7 +63,7 @@ function Tw0p (jCQc: char) -> (
return (6810u16, 122075245384760587708883454153053778463i128, 11162326899970246285u64, (15111u16, t5RQ {}));
}
circuit t5RQ {
struct t5RQ {
}
@ -80,7 +80,7 @@ function fGeK (const YKvX: i8) -> u8 {
return 199u8;
}
circuit q2USj {
struct q2USj {
GoGV: bool,
aLCN: i32,
E_t6: bool,
@ -182,7 +182,7 @@ function mH2Y9 (iEfoy: u8) -> (
return (11817726415298897201781763882612161235674380541753244883813987091658618975514747358698825992261995321821959028187112813486614880508876689770337142994146408field, '\u{105181}', 212u8);
}
circuit VdqTF {
struct VdqTF {
vNAMH: bool,
JkBcA: address,
qQtCF: i16,

View File

@ -65,7 +65,7 @@ function FCIe (
}
}
circuit x4x07 {
struct x4x07 {
Gg_UX: u16,
CFmyP: bool,
QdLo: u64,
@ -231,7 +231,7 @@ function uocd () -> (
return (679694547190221403116537244681951121754919771791350316747287453042032902862057226918548953516602842317380963297974405319599274158746187816329125707432325field, 83083990534768452705048990419652926759, 21119u16);
}
circuit c0q0D {
struct c0q0D {
K4OKX: u64,
sWaX: address,
BEMu: char,
@ -293,7 +293,7 @@ circuit c0q0D {
}
circuit yoi2 {
struct yoi2 {
Q9XX: address,
PeYO: char,

View File

@ -13,7 +13,7 @@ type zyIj = [gwqG; 3];
type nyaT0 = KMjk;
circuit ud9u {
struct ud9u {
function OA2a (self, const PQSm: i64) -> (
[[u8; 1]; 2],
@ -50,7 +50,7 @@ circuit ud9u {
}
circuit QIdG {
struct QIdG {
mOJx: u128,
ats6: i32,
QJg2: u32,
@ -96,7 +96,7 @@ function main (elXa: i128) -> (
return (aleo1fl2jl3jyphgprzcmj78j88s93fu3clx47uskj0508y5r7z6fncyq8706c6, (183u8 ** 0u8 + (true? 67 : 65u8) * 0u8 + 195u8 / 203u8) * 60u8 ** 1u8 - 0u8 * 0u8 ** (61u8 - 32u8 - 13u8 - 23u8 / 65u8 / 84u8));
}
circuit gwqG {
struct gwqG {
KWE2: (i64, i128, [i32; 2], (([address; 1], i64, address, i128), TESjC)),
PtPCd: u64,
P4SG: (i32, [(u32, bool, TESjC); 2], i32, i16),

View File

@ -39,7 +39,7 @@ function main () -> (
return ('\x6a', -32246, '\x0f', (false, -78, 134482078048524008i64, 54), woTZ.0);
}
circuit XzVq {
struct XzVq {
amVgA: [i64; 2],
function m0NjV (self) {
@ -67,7 +67,7 @@ function yJ9T (
//RETURN
}
circuit M6Cza {
struct M6Cza {
function JYvIz (
self,
@ -311,5 +311,5 @@ function nKDZF (
}
}
circuit FjCxy {
struct FjCxy {
}

View File

@ -790,7 +790,7 @@ function Y8vwD () -> (
return ('\x49', 0618428222752580929025744011017473243663188325800434593874052200field);
}
circuit ch4X {
struct ch4X {
u4M_f: u8,
function zxMYt (
@ -1135,7 +1135,7 @@ function kUOeO (
}
}
circuit K9Bs {
struct K9Bs {
loESr: ((i128, address, i128), bool),
function LjoKc () {
@ -1574,7 +1574,7 @@ function XKP9 (
LdsOq[..2u32][1] = LdsOq[0u32..][KCR4 * KCR4 ** 0 - 3187832772u32];
}
circuit bmU5 {
struct bmU5 {
Ym93w: RKDY,
QtiNX: [i16; 3],
bPmuq: RKDY,

View File

@ -20,7 +20,7 @@ const AWye: xs1w = 115i8;
const NyOSS: i64 = -9112024196555249712i64;
circuit UaAlp {
struct UaAlp {
Lq72: xs1w,
}
@ -90,7 +90,7 @@ function gLeR (const ltYE: (char, char)) -> (
return (74, 3906516312311027547u64);
}
circuit KAjg {
struct KAjg {
}

View File

@ -59,7 +59,7 @@ function main (
//RETURN
}
circuit HeJTD {
struct HeJTD {
function sxOgu (self, const kksQi: i128) -> (
u8,
@ -95,7 +95,7 @@ circuit HeJTD {
}
circuit gtQV {
struct gtQV {
L6gU: i16,
hC3az: u128,
j7uL: i64,

View File

@ -47,7 +47,7 @@ function cD4r (const Ef4DK: u8) -> bool {
return 4170085385614217102u64 > 2900170916628410432u64 && (8859831151384150600u64, 9584u16, 64997411429767251474068675400579704411u128, 51394u16) != (8694497216948073522u64, 12295u16, Rjka, 26950u16) || aleo1j3c7r67xcd5qd9hyc03jnsazss4thwsdckeun24sggvxcgyaxuxq5sexds == aleo1jupcxnkqw94s8es4342man4ggx964l5cuct6p47u6w7zh99z9u8qshynps;
}
circuit FKmZ {
struct FKmZ {
M8qe: i32,
D73jn: bool,
zqD4: u64,

View File

@ -21,7 +21,7 @@ const xfK1Q: u8 = 211u8;
const xQ3fN: u32 = 2283742765u32;
circuit JFjRt {
struct JFjRt {
P08i: i8,
JVRV: [char; 3],
FCVt: [u16; 4],

View File

@ -43,5 +43,5 @@ function uaKPx (const QNzSh: i128) -> (
return (1055028656, MsgN[1..][0u32]);
}
circuit PANW {
struct PANW {
}

View File

@ -20,7 +20,7 @@ const f2Tb9: i128 = 45051584313652375601764187183414341445;
const V5kfY: i16 = -8790i16;
circuit Sjme {
struct Sjme {
hmJC: i16,
CcHF: [u128; 2],
ZoZp: char,

View File

@ -3,7 +3,7 @@ namespace: Compile
expectation: Fail
*/
circuit Foo {
struct Foo {
// The token amount.
token: Token,
}

View File

@ -3,7 +3,7 @@ namespace: Compile
expectation: Fail
*/
circuit Foo {
struct Foo {
x: u8;
}

View File

@ -3,7 +3,7 @@ namespace: Compile
expectation: Fail
*/
circuit Bar {
struct Bar {
x: u32,
x: u32,
}

View File

@ -4,7 +4,7 @@ expectation: Fail
input_file: input/dummy.in
*/
circuit Bar {
struct Bar {
b2: u32
}

View File

@ -10,7 +10,7 @@ inputs:
r0: u32 = 0;
*/
circuit Foo {
struct Foo {
x: u32
}

View File

@ -3,7 +3,7 @@ namespace: Compile
expectation: Fail
*/
circuit Foo {
struct Foo {
x: u32;
}

View File

@ -3,7 +3,7 @@ namespace: Compile
expectation: Fail
*/
circuit Foo {
struct Foo {
x: u8;
}

View File

@ -13,7 +13,7 @@ inputs:
r0: bool = false;
*/
circuit Foo {
struct Foo {
x: u8
}

View File

@ -4,7 +4,7 @@ expectation: Pass
input_file: input/dummy.in
*/
circuit Foo {
struct Foo {
x: u32,
}

View File

@ -3,7 +3,7 @@ namespace: Compile
expectation: Fail
*/
circuit Foo {
struct Foo {
x: u32;
}

View File

@ -3,7 +3,7 @@ namespace: Compile
expectation: Fail
*/
circuit Foo {
struct Foo {
a: u8,
bar: Bar,
}

View File

@ -4,7 +4,7 @@ expectation: Pass
input_file: inputs/true.in
*/
circuit Foo {
struct Foo {
a: u8;
}

View File

@ -4,7 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
circuit Foo {
struct Foo {
a: u128,
b: u128,
}

View File

@ -4,7 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
circuit Foo {
struct Foo {
a: u128,
b: u128,
}

View File

@ -4,7 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
circuit Foo {
struct Foo {
a: u128,
b: u128,
}

View File

@ -4,7 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
circuit Foo {
struct Foo {
a: u128,
b: u128,
}

View File

@ -4,7 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
circuit Foo {
struct Foo {
a: u128,
b: u128,
}

View File

@ -4,7 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
circuit Foo {
struct Foo {
a: u128,
b: u128,
}

View File

@ -4,7 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
circuit Foo {
struct Foo {
a: u128,
b: u128,
}

View File

@ -4,7 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
circuit Foo {
struct Foo {
a: u128,
b: u128,
}

View File

@ -4,7 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
circuit Foo {
struct Foo {
a: u128,
b: u128,
}

View File

@ -4,7 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
circuit Foo {
struct Foo {
a: u128,
b: u128,
}

View File

@ -4,7 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
circuit Foo {
struct Foo {
a: u128,
b: u128,
}

View File

@ -12,4 +12,4 @@ function main(y: bool) -> bool {
return y == true;
}
// circuit Foo {}
// struct Foo {}

View File

@ -5,18 +5,18 @@ expectation: Pass
mapping balances: address => u128;
circuit Token {
struct Token {
owner: address;
balance: u128;
}
mapping tokens: address => Token;
circuit Bar {
struct Bar {
a: u128;
}
circuit Baz {
struct Baz {
a: u128;
}

View File

@ -22,6 +22,6 @@ function baz(a: u8) -> u8 {
return bar;
}
circuit bar {
struct bar {
a: u64;
}

View File

@ -3,13 +3,13 @@ namespace: Compile
expectation: Pass
*/
circuit Row {
struct Row {
e1: u8,
e2: u8,
e3: u8
}
circuit Board {
struct Board {
r1: Row,
r2: Row,
r3: Row,

View File

@ -9,7 +9,7 @@ function main(public a: u32, b: u32) -> u32 {
return c;
}
circuit Board {
struct Board {
foo: u8,
}

View File

@ -12,7 +12,7 @@ record Token {
amount: u64,
}
circuit Token { // This circuit cannot have the same name as the record defined above it.
struct Token { // This struct cannot have the same name as the record defined above it.
x: u32,
}

View File

@ -3,7 +3,7 @@ namespace: Compile
expectation: Pass
*/
circuit Amount {
struct Amount {
amount: u64,
amt: u64,
}

View File

@ -10,7 +10,7 @@ record Token {
}
circuit Bar {
struct Bar {
bar: Foo,
}

View File

@ -9,7 +9,7 @@ record Token3 {
bar: (Bar, Bar),
}
circuit Bar {
struct Bar {
bar: (Token, Token),
}

View File

@ -20,6 +20,6 @@ function baz() -> u8 {
return 0u8;
}
circuit A {
struct A {
mem: (u8, u16)
}

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372030]: A circuit or record cannot contain another record.\n --> compiler-test:5:5\n |\n 5 | token: Token,\n | ^^^^^\n |\n = Remove the record `Token` from `Foo`.\n"
- "Error [ETYC0372030]: A struct or record cannot contain another record.\n --> compiler-test:5:5\n |\n 5 | token: Token,\n | ^^^^^\n |\n = Remove the record `Token` from `Foo`.\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [EAST0372009]: circuit `Foo` shadowed by\n --> compiler-test:7:1\n |\n 7 | function Foo() {}\n | ^^^^^^^^^^^^^^^^^\n"
- "Error [EAST0372009]: struct `Foo` shadowed by\n --> compiler-test:7:1\n |\n 7 | function Foo() {}\n | ^^^^^^^^^^^^^^^^^\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372015]: Circuit Bar defined with more than one member with the same name.\n --> compiler-test:3:1\n |\n 3 | circuit Bar {\n 4 | x: u32,\n 5 | x: u32,\n 6 | }\n | ^\n"
- "Error [ETYC0372015]: Circuit Bar defined with more than one member with the same name.\n --> compiler-test:3:1\n |\n 3 | struct Bar {\n 4 | x: u32,\n 5 | x: u32,\n 6 | }\n | ^\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [EAST0372009]: circuit `Bar` shadowed by\n --> compiler-test:8:5\n |\n 8 | const Bar: u32 = 66u32;\n | ^^^^^^^^^^^^^^^^^^^^^^\n"
- "Error [EAST0372009]: struct `Bar` shadowed by\n --> compiler-test:8:5\n |\n 8 | const Bar: u32 = 66u32;\n | ^^^^^^^^^^^^^^^^^^^^^^\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372017]: The type `Foo` is not found in the current scope.\n --> compiler-test:4:5\n |\n 4 | const a: Foo = Foo { };\n | ^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372005]: Unknown circuit `Foo`\n --> compiler-test:4:20\n |\n 4 | const a: Foo = Foo { };\n | ^^^\n"
- "Error [ETYC0372017]: The type `Foo` is not found in the current scope.\n --> compiler-test:4:5\n |\n 4 | const a: Foo = Foo { };\n | ^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372005]: Unknown struct `Foo`\n --> compiler-test:4:20\n |\n 4 | const a: Foo = Foo { };\n | ^^^\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372017]: The type `Bar` is not found in the current scope.\n --> compiler-test:3:1\n |\n 3 | circuit Foo {\n 4 | a: u8,\n 5 | bar: Bar,\n 6 | }\n | ^\n"
- "Error [ETYC0372017]: The type `Bar` is not found in the current scope.\n --> compiler-test:3:1\n |\n 3 | struct Foo {\n 4 | a: u8,\n 5 | bar: Bar,\n 6 | }\n | ^\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [EAST0372009]: circuit `bar` shadowed by\n --> compiler-test:4:1\n |\n 4 | mapping bar: u8 => u8;\n | ^^^^^^^^^^^^^^^^^^^^^^\nError [EAST0372009]: circuit `bar` shadowed by\n --> compiler-test:7:1\n |\n 7 | function bar(a: u8) -> u8 {\n 8 | return a + 1u8;\n 9 | }\n | ^\n"
- "Error [EAST0372009]: struct `bar` shadowed by\n --> compiler-test:4:1\n |\n 4 | mapping bar: u8 => u8;\n | ^^^^^^^^^^^^^^^^^^^^^^\nError [EAST0372009]: struct `bar` shadowed by\n --> compiler-test:7:1\n |\n 7 | function bar(a: u8) -> u8 {\n 8 | return a + 1u8;\n 9 | }\n | ^\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [EAST0372010]: record `Token` shadowed by\n --> compiler-test:12:1\n |\n 12 | circuit Token { // This circuit cannot have the same name as the record defined above it.\n 13 | x: u32,\n 14 | }\n | ^\n"
- "Error [EAST0372010]: record `Token` shadowed by\n --> compiler-test:12:1\n |\n 12 | struct Token { // This struct cannot have the same name as the record defined above it.\n 13 | x: u32,\n 14 | }\n | ^\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372030]: A circuit or record cannot contain another record.\n --> compiler-test:12:5\n |\n 12 | foo: Foo,\n | ^^^\n |\n = Remove the record `Foo` from `Token`.\n"
- "Error [ETYC0372030]: A struct or record cannot contain another record.\n --> compiler-test:12:5\n |\n 12 | foo: Foo,\n | ^^^\n |\n = Remove the record `Foo` from `Token`.\n"

View File

@ -2,4 +2,4 @@
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372030]: A circuit or record cannot contain another record.\n --> compiler-test:11:5\n |\n 11 | bar: Foo,\n | ^^^\n |\n = Remove the record `Foo` from `Bar`.\n"
- "Error [ETYC0372030]: A struct or record cannot contain another record.\n --> compiler-test:11:5\n |\n 11 | bar: Foo,\n | ^^^\n |\n = Remove the record `Foo` from `Bar`.\n"

View File

@ -6,6 +6,6 @@ outputs:
network: ""
expected_input: []
imports: {}
circuits: {}
structs: {}
mappings: {}
functions: {}

View File

@ -6,7 +6,7 @@ outputs:
network: ""
expected_input: []
imports: {}
circuits: {}
structs: {}
mappings: {}
functions:
"{\"name\":\"main\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":15}\"}":

View File

@ -6,7 +6,7 @@ outputs:
network: ""
expected_input: []
imports: {}
circuits: {}
structs: {}
mappings:
"{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}":
identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}"

View File

@ -6,7 +6,7 @@ outputs:
network: ""
expected_input: []
imports: {}
circuits: {}
structs: {}
mappings: {}
functions:
"{\"name\":\"f\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}":

View File

@ -6,7 +6,7 @@ outputs:
network: ""
expected_input: []
imports: {}
circuits: {}
structs: {}
mappings: {}
functions:
"{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":29}\"}":

View File

@ -6,7 +6,7 @@ outputs:
network: ""
expected_input: []
imports: {}
circuits: {}
structs: {}
mappings: {}
functions:
"{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}":

View File

@ -6,7 +6,7 @@ outputs:
network: ""
expected_input: []
imports: {}
circuits: {}
structs: {}
mappings: {}
functions:
"{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}":

View File

@ -6,7 +6,7 @@ outputs:
network: ""
expected_input: []
imports: {}
circuits: {}
structs: {}
mappings: {}
functions:
"{\"name\":\"test\",\"span\":\"{\\\"lo\\\":94,\\\"hi\\\":98}\"}":

View File

@ -6,7 +6,7 @@ outputs:
network: ""
expected_input: []
imports: {}
circuits: {}
structs: {}
mappings: {}
functions:
"{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}":

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370005]: expected 'function', 'circuit', 'test' -- found '1'\n --> test:3:1\n |\n 3 | 1 main() {}\n | ^"
- "Error [EPAR0370005]: expected 'function', 'struct', 'test' -- found '1'\n --> test:3:1\n |\n 3 | 1 main() {}\n | ^"

View File

@ -6,7 +6,7 @@ outputs:
network: ""
expected_input: []
imports: {}
circuits: {}
structs: {}
mappings: {}
functions:
"{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}":

View File

@ -6,7 +6,7 @@ outputs:
network: ""
expected_input: []
imports: {}
circuits: {}
structs: {}
mappings: {}
functions:
"{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}":

View File

@ -6,7 +6,7 @@ outputs:
network: ""
expected_input: []
imports: {}
circuits: {}
structs: {}
mappings: {}
functions:
"{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}":

View File

@ -6,7 +6,7 @@ outputs:
network: ""
expected_input: []
imports: {}
circuits: {}
structs: {}
mappings: {}
functions:
"{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}":

View File

@ -6,7 +6,7 @@ outputs:
network: ""
expected_input: []
imports: {}
circuits: {}
structs: {}
mappings:
"{\"name\":\"balances\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":18}\"}":
identifier: "{\"name\":\"balances\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":18}\"}"

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370005]: expected 'function', 'circuit', 'test' -- found 'mappin'\n --> test:3:1\n |\n 3 | mappin balances: address => u128;\n | ^^^^^^"
- "Error [EPAR0370005]: expected 'function', 'struct', 'test' -- found 'mappin'\n --> test:3:1\n |\n 3 | mappin balances: address => u128;\n | ^^^^^^"

View File

@ -6,7 +6,7 @@ outputs:
network: ""
expected_input: []
imports: {}
circuits: {}
structs: {}
mappings: {}
functions:
"{\"name\":\"main\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":15}\"}":

View File

@ -2,4 +2,4 @@
namespace: Serialize
expectation: Fail
outputs:
- "Error [EPAR0370005]: expected 'function', 'circuit', 'test' -- found 'invalid'\n --> test:3:1\n |\n 3 | invalid\n | ^^^^^^^"
- "Error [EPAR0370005]: expected 'function', 'struct', 'test' -- found 'invalid'\n --> test:3:1\n |\n 3 | invalid\n | ^^^^^^^"

View File

@ -2,4 +2,4 @@
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370009]: unexpected string: expected 'identifier', found ';'\n --> test:3:9\n |\n 3 | circuit ;\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'identifier', found ';'\n --> test:3:9\n |\n 3 | struct ;\n | ^"

View File

@ -3,106 +3,106 @@ namespace: Parse
expectation: Fail
*/
circuit ;
struct ;
circuit .
struct .
circuit import
struct import
circuit ,
struct ,
circuit *
struct *
circuit +
struct +
circuit -
struct -
circuit /
struct /
circuit [
struct [
circuit ]
struct ]
circuit {
struct {
circuit }
struct }
circuit (
struct (
circuit )
struct )
circuit :
struct :
circuit ::
struct ::
circuit ?
struct ?
circuit _
struct _
circuit =
struct =
circuit ==
struct ==
circuit !
struct !
circuit !=
struct !=
circuit >
struct >
circuit >=
struct >=
circuit <
struct <
circuit <=
struct <=
circuit >
struct >
circuit ..
struct ..
circuit as
struct as
circuit console
struct console
circuit const
struct const
circuit let
struct let
circuit for
struct for
circuit if
struct if
circuit else
struct else
circuit i8
struct i8
circuit i16
struct i16
circuit i32
struct i32
circuit i64
struct i64
circuit i128
struct i128
circuit u8
struct u8
circuit u16
struct u16
circuit u32
struct u32
circuit u64
struct u64
circuit u128
struct u128
circuit &
struct &
circuit return
struct return
circuit self
struct self
circuit Self
struct Self
circuit true
struct true
circuit false
struct false
circuit 0
struct 0