mondo: slightly improve error handling

This commit is contained in:
Felix Roos 2025-03-16 22:07:03 +01:00
parent 902012759a
commit 77ade0758e
No known key found for this signature in database
2 changed files with 15 additions and 6 deletions

View file

@ -11,6 +11,7 @@ let getLeaf = (value, token) => {
strudelScope.plain = getLeaf;
strudelScope.number = getLeaf;
strudelScope.string = getLeaf;
strudelScope.call = (fn, args, name) => {
const [pat, ...rest] = args;