changed error reporting function interface

This commit is contained in:
Francesco Cozzuto
2023-01-20 01:22:20 +01:00
parent 9cc7121cd9
commit 0980cc193d
29 changed files with 391 additions and 437 deletions
+2 -6
View File
@@ -1,10 +1,6 @@
vars, err = import("imported.noja");
if vars == none: {
print("Import failed!! (", err, ")\n");
return none;
}
vars = import("imported.noja");
me = {name: vars.myName, age: vars.myAge};
print(me, "\n");
print(me, "\n");