impc:compiler:print-expansion-arity-error   scheme


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/runtime/llvmti.xtm

Implementation

(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 ""))))


Back to Index