(define impc:compiler:print-bad-arity-error
(lambda (ast)
(print-with-colors *impc:compiler:pretty-print-error-color*
'default #t (print "Syntax Error"))
(print " bad arity in expression:\n")
(print-with-colors *impc:compiler:pretty-print-code-color* 'default #f (print ast "\n"))
(if (impc:aot:currently-compiling?)
(quit 2)
(throw ""))))