fix ,@ error message

This commit is contained in:
2021-07-12 20:00:39 -06:00
parent adf2b952f2
commit c29ea24397

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) {