diff options
Diffstat (limited to 'lux-bootstrapper/src')
-rw-r--r-- | lux-bootstrapper/src/lux/host/generics.clj | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lux-bootstrapper/src/lux/host/generics.clj b/lux-bootstrapper/src/lux/host/generics.clj index 9e0359760..58986c100 100644 --- a/lux-bootstrapper/src/lux/host/generics.clj +++ b/lux-bootstrapper/src/lux/host/generics.clj @@ -144,6 +144,13 @@ (&/$GenericClass name params) (->bytecode-class-name name) + (&/$GenericArray (&/$GenericClass name params)) + (case name + ("void" "boolean" "byte" "short" "int" "long" "float" "double" "char") + (str "[" (->type-signature name)) + ;; else + (str "[L" (->bytecode-class-name name) ";")) + (&/$GenericArray param) (str "[" (gclass->class-name param)) |