aboutsummaryrefslogtreecommitdiff
path: root/luxc
diff options
context:
space:
mode:
authorEduardo Julian2017-10-09 00:38:44 -0400
committerEduardo Julian2017-10-09 00:38:44 -0400
commit2b310f8ad1050774e5cc60839e56a042e27bf570 (patch)
tree9eadfa1e62507d54dd637c51be2c24198ec5a25b /luxc
parentbf6acad37e74599a5b9091326f6f0ba33063b8b4 (diff)
- Fixed a bug when serializing JVM types.
Diffstat (limited to 'luxc')
-rw-r--r--luxc/src/lux/type/host.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/luxc/src/lux/type/host.clj b/luxc/src/lux/type/host.clj
index 82f14812d..74ef262c6 100644
--- a/luxc/src/lux/type/host.clj
+++ b/luxc/src/lux/type/host.clj
@@ -137,7 +137,7 @@
"V")
(instance? GenericArrayType refl-type)
- (&host-generics/->type-signature (str refl-type))
+ (str "[" (principal-class (.getGenericComponentType ^GenericArrayType refl-type)))
(instance? ParameterizedType refl-type)
(&host-generics/->type-signature (->> ^ParameterizedType refl-type ^Class (.getRawType) .getName))