From 2b310f8ad1050774e5cc60839e56a042e27bf570 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 9 Oct 2017 00:38:44 -0400 Subject: - Fixed a bug when serializing JVM types. --- luxc/src/lux/type/host.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'luxc/src') 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)) -- cgit v1.2.3