aboutsummaryrefslogtreecommitdiff
path: root/core/errors.nom
diff options
context:
space:
mode:
Diffstat (limited to 'core/errors.nom')
-rw-r--r--core/errors.nom3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/errors.nom b/core/errors.nom
index 53b06a2..297144d 100644
--- a/core/errors.nom
+++ b/core/errors.nom
@@ -14,7 +14,6 @@ compile [compile error at %source %msg] to (..)
compile [assume %condition] to:
lua> ".."
local \%assumption = 'Assumption failed: '..tostring(nomsu:tree_to_nomsu(\%condition))
-
return (..)
Lua ".."
if not \(%condition as lua expr) then
@@ -37,7 +36,7 @@ test:
%x = 2
do (barf) then always: %x = 3
..and if it barfs: do nothing
-
+
assume (%x == 3) or barf "do/then always failed"
# Try/except