aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/target/jvm/reflection.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/target/jvm/reflection.lux')
-rw-r--r--stdlib/source/lux/target/jvm/reflection.lux6
1 files changed, 4 insertions, 2 deletions
diff --git a/stdlib/source/lux/target/jvm/reflection.lux b/stdlib/source/lux/target/jvm/reflection.lux
index 89f759dcb..e6ee7e630 100644
--- a/stdlib/source/lux/target/jvm/reflection.lux
+++ b/stdlib/source/lux/target/jvm/reflection.lux
@@ -18,7 +18,9 @@
["." list ("#@." fold functor)]
["." array]
["." dictionary]]]]
- [//
+ ["." // #_
+ [encoding
+ ["#." name]]
["/" type
["#." lux (#+ Mapping)]
["." reflection]]])
@@ -205,7 +207,7 @@
class-name
(if (text.starts-with? /.array-prefix class-name)
- (<t>.run /.parse-signature (/.binary-name class-name))
+ (<t>.run /.parse-signature (|> class-name //name.internal //name.read))
(#try.Success (/.class class-name (list)))))
_)
(case (host.check java/lang/reflect/GenericArrayType reflection)