diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/platform/compiler/phase/translation.lux | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/lux/platform/compiler/phase/translation.lux b/stdlib/source/lux/platform/compiler/phase/translation.lux index fb40f4652..c7fb60c08 100644 --- a/stdlib/source/lux/platform/compiler/phase/translation.lux +++ b/stdlib/source/lux/platform/compiler/phase/translation.lux @@ -108,8 +108,8 @@ (#error.Success [[bundle' (set@ #context [old-scope (inc old-inner)] state')] [new-scope output]]) - (#error.Error error) - (#error.Error error))))) + (#error.Failure error) + (#error.Failure error))))) (def: #export context (All [anchor expression statement] @@ -129,8 +129,8 @@ (#error.Success [[bundle' (set@ <tag> (get@ <tag> state) state')] output]) - (#error.Error error) - (#error.Error error))))) + (#error.Failure error) + (#error.Failure error))))) (def: #export <get> (All [anchor expression statement] @@ -180,7 +180,7 @@ (#error.Success output) (#error.Success [state+ output]) - (#error.Error error) + (#error.Failure error) (ex.throw cannot-interpret error))))] [evaluate! expression] @@ -195,7 +195,7 @@ (#error.Success output) (#error.Success [stateE output]) - (#error.Error error) + (#error.Failure error) (ex.throw cannot-interpret error)))) (def: #export (save! name code) |