diff --git a/module/language/glil/compile-assembly.scm b/module/language/glil/compile-assembly.scm index 490d1a4a5..32c5a9d3a 100644 --- a/module/language/glil/compile-assembly.scm +++ b/module/language/glil/compile-assembly.scm @@ -69,7 +69,9 @@ (lp (cdr in) out filename))))))) (define (make-meta bindings sources arities tail) - (if (and (null? bindings) (null? sources) (null? tail)) + ;; sounds silly, but the only case in which we have no arities is when + ;; compiling a meta procedure. + (if (and (null? bindings) (null? sources) (null? arities) (null? tail)) #f (compile-assembly (make-glil-program '()