START OF COMPILER
This commit is contained in:
31
data/err.lang
Normal file
31
data/err.lang
Normal file
@@ -0,0 +1,31 @@
|
||||
fn main() {
|
||||
// let x = 3;
|
||||
let y = 4 + 4 + 5;
|
||||
let z = 1 * 2 - 3 / test * 4;
|
||||
let r = 1-2.5 + 3;
|
||||
let w = 1 * (2 - 3) / "test" - 7
|
||||
let a = test('3');
|
||||
let c = '3' ;
|
||||
test(5);
|
||||
return 5 +
|
||||
|
||||
a;
|
||||
r = )!!;
|
||||
r = !3;
|
||||
r = 3 + !;
|
||||
let b = (test2.func)(3 + 4)(8)("a");
|
||||
let x = {
|
||||
return 5;
|
||||
let a = 3;
|
||||
b
|
||||
};
|
||||
}
|
||||
|
||||
fn test() {
|
||||
let r = 3;
|
||||
let a = }
|
||||
}
|
||||
|
||||
fn test2() {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user