diff options
author | Eduardo Julian | 2020-04-16 00:22:24 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-04-16 00:22:24 -0400 |
commit | 1888b5c3288e4e7653a424e7314ea5c8277ab360 (patch) | |
tree | a40768d314bc610f9c17446d86e33eba44d5e6c8 /luxc/src | |
parent | 4f1553c6f6bb579f09749d5b9ca955c43a7440a4 (diff) |
Generating definition names in a new way.
Diffstat (limited to 'luxc/src')
-rw-r--r-- | luxc/src/lux/compiler/jvm/proc/common.clj | 3 |
1 files changed, 1 insertions, 2 deletions
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))) |