diff options
author | Eduardo Julian | 2018-12-15 18:32:31 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-12-15 18:32:31 -0400 |
commit | ee0c268d2e7922ce4d1b1b11291e6858977cce74 (patch) | |
tree | e8dcd01dd4b07727f79892278d146403d56a16fe /stdlib/source/lux/platform/compiler/phase/translation.lux | |
parent | 5f7896ac2cfa8cc9b3ca79c922438412e440a922 (diff) |
Re-named the "Error" tag to "Failure".
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) |