aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/spec/compositor/generation/reference.lux
diff options
context:
space:
mode:
authorEduardo Julian2021-07-11 01:51:04 -0400
committerEduardo Julian2021-07-11 01:51:04 -0400
commitabe24425ced15fd784ef6c62d6f186af72b491db (patch)
tree42b6e3cbd179c83fae8941fa4b128b13afc766f5 /stdlib/source/spec/compositor/generation/reference.lux
parent4610968193df10af12c91f699fec39aeb3ef703a (diff)
Re-named ":coerce" to ":as" since it technically doesn't do coercions.
Diffstat (limited to '')
-rw-r--r--stdlib/source/spec/compositor/generation/reference.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/spec/compositor/generation/reference.lux b/stdlib/source/spec/compositor/generation/reference.lux
index a94824f28..665175ab4 100644
--- a/stdlib/source/spec/compositor/generation/reference.lux
+++ b/stdlib/source/spec/compositor/generation/reference.lux
@@ -32,7 +32,7 @@
(_.test "Definitions."
(|> (define name (synthesis.f64 expected))
(case> (#try.Success actual)
- (f.= expected (:coerce Frac actual))
+ (f.= expected (:as Frac actual))
(#try.Failure _)
false)))))
@@ -48,7 +48,7 @@
(synthesis.variable/local register)])
(run "variable")
(case> (#try.Success actual)
- (f.= expected (:coerce Frac actual))
+ (f.= expected (:as Frac actual))
(#try.Failure _)
false)))))