From 0dbcec8e727511d71101a705972eb252eec79b9f Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sun, 7 Dec 2014 19:55:45 -0400 Subject: Fixed bug that was causing function-calls to fail. --- src/lang/compiler.clj | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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] -- cgit v1.2.3