diff options
author | Eduardo Julian | 2020-08-09 18:38:17 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-08-09 18:38:17 -0400 |
commit | f79e39de3f605695a33acadf751be498f552930b (patch) | |
tree | 0fe49686a72fef910f7a861229826139e8bc1fd6 /stdlib/source/lux/data/text/encoding.lux | |
parent | b2cec28f75239fd11ab13a6ff896fb0bf0f7a19c (diff) |
Allow "#io" outputs for JS imports.
Diffstat (limited to 'stdlib/source/lux/data/text/encoding.lux')
-rw-r--r-- | stdlib/source/lux/data/text/encoding.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/lux/data/text/encoding.lux b/stdlib/source/lux/data/text/encoding.lux index 88b04c00c..bf9e71508 100644 --- a/stdlib/source/lux/data/text/encoding.lux +++ b/stdlib/source/lux/data/text/encoding.lux @@ -169,14 +169,14 @@ (|>> :representation)) ) -(with-expansions [<for-jvm> (as-is (host.import: #long java/lang/String - (new [[byte] java/lang/String]) - (getBytes [java/lang/String] [byte])))] +(with-expansions [<jvm> (as-is (host.import: #long java/lang/String + (new [[byte] java/lang/String]) + (getBytes [java/lang/String] [byte])))] (for {@.old - (as-is <for-jvm>) + (as-is <jvm>) @.jvm - (as-is <for-jvm>) + (as-is <jvm>) @.js (as-is (host.import: Uint8Array) |