mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-26 11:06:00 +03:00
106 lines
989 B
Plaintext
106 lines
989 B
Plaintext
/*
|
|
namespace: ParseStatement
|
|
expectation: Pass
|
|
*/
|
|
|
|
let x = expr;
|
|
|
|
let x = ();
|
|
|
|
let x = x+y;
|
|
|
|
let x = (x,y);
|
|
|
|
let x = x();
|
|
|
|
|
|
const x = expr;
|
|
|
|
const x = ();
|
|
|
|
const x = x+y;
|
|
|
|
const x = (x,y);
|
|
|
|
const x = x();
|
|
|
|
|
|
let x: u32 = expr;
|
|
|
|
let x: u32 = ();
|
|
|
|
let x: u32 = x+y;
|
|
|
|
let x: u32 = (x,y);
|
|
|
|
let x: u32 = x();
|
|
|
|
|
|
const x: u32 = expr;
|
|
|
|
const x: u32 = ();
|
|
|
|
const x: u32 = x+y;
|
|
|
|
const x: u32 = (x,y);
|
|
|
|
const x: u32 = x();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let (x, y) = expr;
|
|
|
|
let (x, y) = ();
|
|
|
|
let (x, y) = x+y;
|
|
|
|
let (x, y) = (x,y);
|
|
|
|
let (x, y) = x();
|
|
|
|
|
|
const (x, y) = expr;
|
|
|
|
const (x, y) = ();
|
|
|
|
const (x, y) = x+y;
|
|
|
|
const (x, y) = (x,y);
|
|
|
|
const (x, y) = x();
|
|
|
|
|
|
let (x, y): u32 = expr;
|
|
|
|
let (x, y): u32 = ();
|
|
|
|
let (x, y): u32 = x+y;
|
|
|
|
let (x, y): u32 = (x,y);
|
|
|
|
let (x, y): u32 = x();
|
|
|
|
|
|
const (x, y): u32 = expr;
|
|
|
|
const (x, y): u32 = ();
|
|
|
|
const (x, y): u32 = x+y;
|
|
|
|
const (x, y): u32 = (x,y);
|
|
|
|
const (x, y): u32 = x();
|
|
|
|
|
|
let (x,y,) = ();
|
|
|
|
let (x,) = ();
|
|
|
|
|
|
let x: [char; _] = "Hello, World!";
|
|
|
|
let x: [[u8; 2]; 2] = [[0,0], [0,0]];
|