fix ,@ error message

This commit is contained in:
2021-07-12 20:00:39 -06:00
parent 56b01b5f63
commit 9792f4537a

View File

@@ -325,7 +325,7 @@ class Helpers {
case ListExp(elements):
elements;
default:
throw CompileError.fromExp(l[idx], ",@ can only be used with lists");
throw CompileError.fromExp(listToInsert, ",@ can only be used with lists");
};
};
for (el in newElements) {