From 52ee6639be048621776527380a1fe7eb51c055ab Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 2 Jun 2021 20:07:52 -0400 Subject: Postponing work on R due to flaws of the bootstrapping compiler. Will resume once the new JVM compiler replaces the bootstrapping compiler.--- lux-bootstrapper/src/lux/host/generics.clj | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lux-bootstrapper') 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)) -- cgit v1.2.3