From 0bb34781b9eebd1455a167dbbd4f9d0fe7b758a0 Mon Sep 17 00:00:00 2001 From: s-ol Date: Sat, 11 Nov 2023 16:52:08 +0100 Subject: small fixes --- alv/copilot/base.moon | 2 +- alv/dummy.moon | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'alv') diff --git a/alv/copilot/base.moon b/alv/copilot/base.moon index 96aea3b..b7823e6 100644 --- a/alv/copilot/base.moon +++ b/alv/copilot/base.moon @@ -76,7 +76,7 @@ class Copilot if ok result = RTNode :result unless result.__class == RTNode result - elseif not result\match "not found" + elseif not result\match "'alv%-lib%.[^']+' not found" error result else assert @modules, "no current eval cycle?" diff --git a/alv/dummy.moon b/alv/dummy.moon index ec16aa5..cc69f10 100644 --- a/alv/dummy.moon +++ b/alv/dummy.moon @@ -38,7 +38,7 @@ class Dummy --- stringify this Dummy. -- -- throws an error, `Dummy` nodes cannot be stringified. - stringify: => error Error, 'implementation', "cannot stringify Dummy" + stringify: => error Error 'implementation', "cannot stringify Dummy" --- static functions -- @section static -- cgit v1.2.3