aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/platform/compiler/default/platform.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/platform/compiler/default/platform.lux')
-rw-r--r--stdlib/source/lux/platform/compiler/default/platform.lux12
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/lux/platform/compiler/default/platform.lux b/stdlib/source/lux/platform/compiler/default/platform.lux
index 9a169fb15..10dfd6ebb 100644
--- a/stdlib/source/lux/platform/compiler/default/platform.lux
+++ b/stdlib/source/lux/platform/compiler/default/platform.lux
@@ -73,7 +73,7 @@
## (wrap (|> state
## (set@ [#.info #.mode] #.Build))))
- ## (#error.Error error)
+ ## (#error.Failure error)
## (io.fail error))
)
@@ -88,8 +88,8 @@
## _ (write-module target-dir file-name (get@ #cli.module configuration) module outputs)
]
## (case (compiler input)
- ## (#error.Error error)
- ## (:: (get@ #file-system platform) lift (#error.Error error))
+ ## (#error.Failure error)
+ ## (:: (get@ #file-system platform) lift (#error.Failure error))
## (#error.Success))
(let [compiler (init.compiler syntax.prelude state)
@@ -99,11 +99,11 @@
(#error.Success more|done)
(case more|done
(#.Left more)
- (:: (get@ #file-system platform) lift (#error.Error "NOT DONE!"))
+ (:: (get@ #file-system platform) lift (#error.Failure "NOT DONE!"))
(#.Right done)
(wrap []))
- (#error.Error error)
- (:: (get@ #file-system platform) lift (#error.Error error))))))
+ (#error.Failure error)
+ (:: (get@ #file-system platform) lift (#error.Failure error))))))
)