aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/macro/poly/json.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/macro/poly/json.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/macro/poly/json.lux b/stdlib/source/lux/macro/poly/json.lux
index 321a80492..1e61d49f9 100644
--- a/stdlib/source/lux/macro/poly/json.lux
+++ b/stdlib/source/lux/macro/poly/json.lux
@@ -189,7 +189,7 @@
poly;bound
poly;recursive-call
## If all else fails...
- (p;fail (text/append "Cannot create JSON encoder for: " (type;to-text inputT)))
+ (p;fail (text/compose "Cannot create JSON encoder for: " (type;to-text inputT)))
))))
(poly: #hidden Codec<JSON,?>//decode
@@ -283,7 +283,7 @@
poly;bound
poly;recursive-call
## If all else fails...
- (p;fail (text/append "Cannot create JSON decoder for: " (type;to-text inputT)))
+ (p;fail (text/compose "Cannot create JSON decoder for: " (type;to-text inputT)))
))))
(syntax: #export (Codec<JSON,?> inputT)