diff options
Diffstat (limited to '')
-rw-r--r-- | luxc/src/lux/compiler/host.clj | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/luxc/src/lux/compiler/host.clj b/luxc/src/lux/compiler/host.clj index c1ed8880d..5f98bcdb9 100644 --- a/luxc/src/lux/compiler/host.clj +++ b/luxc/src/lux/compiler/host.clj @@ -171,6 +171,11 @@ (doto writer &&/unwrap-char (.visitInsn Opcodes/IRETURN)) + + (&/$GenericClass _class-name (&/$Nil)) + (doto writer + (.visitTypeInsn Opcodes/CHECKCAST (&host-generics/->bytecode-class-name _class-name)) + (.visitInsn Opcodes/ARETURN)) _ (.visitInsn writer Opcodes/ARETURN))) |