diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-03-26 15:37:27 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-03-26 15:37:27 -0700 |
| commit | 6ba2b8b36d4d8a082875c0d28a232b164fdc9638 (patch) | |
| tree | 73920ae31f041add456adb7c578057ba540d198c /lib/core/errors.nom | |
| parent | 24f347fd0cd91dc2198e8b6c56fb4c7a1c08df2d (diff) | |
Fix for (assume ($x > $y)) bug
Diffstat (limited to 'lib/core/errors.nom')
| -rw-r--r-- | lib/core/errors.nom | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/core/errors.nom b/lib/core/errors.nom index 20751fa..d77717d 100644 --- a/lib/core/errors.nom +++ b/lib/core/errors.nom @@ -52,7 +52,7 @@ use "core/control_flow" _b = type_of(_b) == 'Text' and _b:as_lua() or _1_as_text(_b) at_1_fail(\(quote "\($condition.1.source)"), "Assumption failed: This value was ".._a..", but it was expected to be \ - ..\($condition.3)".._b..".") + ..\($condition.2)".._b..".") end end ") @@ -180,4 +180,4 @@ test: if not _results[1] then error(_results[2], 0) end if not _fell_through then return table.unpack(_results, 2) end end -")
\ No newline at end of file +") |
