aboutsummaryrefslogtreecommitdiff
path: root/src/lang
diff options
context:
space:
mode:
Diffstat (limited to 'src/lang')
-rw-r--r--src/lang/compiler.clj6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lang/compiler.clj b/src/lang/compiler.clj
index 1c3f634cc..66e50a462 100644
--- a/src/lang/compiler.clj
+++ b/src/lang/compiler.clj
@@ -54,7 +54,9 @@
(defcompiler ^:private compile-ident
[::&parser/ident ?name]
(doto *writer*
- (.visitVarInsn Opcodes/ALOAD (int 0))))
+ (.visitVarInsn Opcodes/ALOAD (int 0)))
+ ;; nil
+ )
(defcompiler ^:private compile-fn-call
[::&parser/fn-call [::&parser/ident ?fn] ?args]
@@ -77,7 +79,7 @@
(compile-form *writer* arg))
?method))]
(doto *writer*
- (.visitMethodInsn Opcodes/INVOKEVIRTUAL (->class "java.io.PrintStream") method "(Ljava/lang/String;)V"))))
+ (.visitMethodInsn Opcodes/INVOKEVIRTUAL (->class "java.io.PrintStream") method "(Ljava/lang/Object;)V"))))
(defcompiler ^:private compile-ann-class
[::&parser/ann-class ?class ?members]