2025-10-04 19:02:33 +02:00
|
|
|
// Test script to verify error positioning
|
2026-02-11 16:35:05 +01:00
|
|
|
"no"();
|
2025-11-12 20:45:35 +01:00
|
|
|
var a := 5;
|
|
|
|
|
var b := "hello";
|
2025-10-04 19:02:33 +02:00
|
|
|
print 0;
|
2025-11-12 20:45:35 +01:00
|
|
|
var result := a + b; // This should cause a type error
|
2025-10-04 19:02:33 +02:00
|
|
|
print 1;
|
|
|
|
|
43 + "hello"; // This should cause a type error
|
|
|
|
|
print result;
|
|
|
|
|
print 46 + "world"; // This should cause a type error
|