(define impc:compiler:print-expansion-arity-error
(lambda (before after)
(print-with-colors *impc:compiler:pretty-print-error-color*
'default #t (print "Generics Error"))
(print " expansion arity error ")
(print-with-colors *impc:compiler:pretty-print-type-color* 'default #f (print before))
(print " -> ")
(print-with-colors *impc:compiler:pretty-print-type-color* 'default #f (print after "\n"))
(if (impc:aot:currently-compiling?)
(quit 2)
(throw ""))))