From dbb658bd7976c073a2bf314f194b36b30c45784b Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Thu, 26 Nov 2020 19:37:11 -0400 Subject: Allow name formatting for JVM imports, similar to Lux module imports. --- stdlib/source/lux/data/text/encoding.lux | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'stdlib/source/lux/data/text/encoding.lux') diff --git a/stdlib/source/lux/data/text/encoding.lux b/stdlib/source/lux/data/text/encoding.lux index 4d0da57cd..140acf270 100644 --- a/stdlib/source/lux/data/text/encoding.lux +++ b/stdlib/source/lux/data/text/encoding.lux @@ -170,8 +170,9 @@ ) (with-expansions [ (as-is (host.import: java/lang/String - (new [[byte] java/lang/String]) - (getBytes [java/lang/String] [byte])))] + ["#::." + (new [[byte] java/lang/String]) + (getBytes [java/lang/String] [byte])]))] (for {@.old (as-is ) -- cgit v1.2.3