This commit is contained in:
Giulio Agostini
2025-11-12 20:45:35 +01:00
parent 07cedc27bf
commit ee279425f2
9 changed files with 240 additions and 45 deletions
+9
View File
@@ -0,0 +1,9 @@
// Test script to verify error positioning
var a := 5;
var b := "hello";
print 0;
var result := a + b; // This should cause a type error
print 1;
43 + "hello"; // This should cause a type error
print result;
print 46 + "world"; // This should cause a type error