From 1888b5c3288e4e7653a424e7314ea5c8277ab360 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Thu, 16 Apr 2020 00:22:24 -0400 Subject: Generating definition names in a new way. --- luxc/src/lux/compiler/jvm/proc/common.clj | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'luxc') diff --git a/luxc/src/lux/compiler/jvm/proc/common.clj b/luxc/src/lux/compiler/jvm/proc/common.clj index 88b989262..cb5f48c74 100644 --- a/luxc/src/lux/compiler/jvm/proc/common.clj +++ b/luxc/src/lux/compiler/jvm/proc/common.clj @@ -334,8 +334,7 @@ (.visitFieldInsn Opcodes/GETSTATIC "java/lang/System" "out" "Ljava/io/PrintStream;"))] _ (compile ?x) :let [_ (doto *writer* - (.visitTypeInsn Opcodes/CHECKCAST "java/lang/String") - (.visitMethodInsn Opcodes/INVOKEVIRTUAL "java/io/PrintStream" "println" "(Ljava/lang/String;)V") + (.visitMethodInsn Opcodes/INVOKEVIRTUAL "java/io/PrintStream" "println" "(Ljava/lang/Object;)V") (.visitLdcInsn &/unit-tag))]] (return nil))) -- cgit v1.2.3