aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation.lux
diff options
context:
space:
mode:
Diffstat (limited to 'new-luxc/source/luxc/lang/translation.lux')
-rw-r--r--new-luxc/source/luxc/lang/translation.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/new-luxc/source/luxc/lang/translation.lux b/new-luxc/source/luxc/lang/translation.lux
index 0ed495c31..0ed65378d 100644
--- a/new-luxc/source/luxc/lang/translation.lux
+++ b/new-luxc/source/luxc/lang/translation.lux
@@ -64,7 +64,7 @@
syntheses extensionL.all-syntheses
annsI (expressionT.translate (expressionS.synthesize syntheses annsA))
annsV (evalT.eval annsI)]
- (wrap [annsI (:! Code annsV)])))
+ (wrap [annsI (:coerce Code annsV)])))
(def: (switch-compiler new-compiler)
(-> Lux (Meta Aliases))
@@ -107,7 +107,7 @@
(&.throw Invalid-Macro (%code code)))
expansion (: (Meta (List Code))
(function (_ compiler)
- (case (macroL.expand (:! Macro _macroV) argsC+ compiler)
+ (case (macroL.expand (:coerce Macro _macroV) argsC+ compiler)
(#e.Error error)
((&.throw Macro-Expansion-Failed error) compiler)
@@ -167,7 +167,7 @@
(def: text-to-blob
(-> Text Blob)
- (|>> (:! String)
+ (|>> (:coerce String)
(String::getBytes ["UTF-8"])
e.assume)))})