impc:compiler:print-already-bound-error   scheme


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

Implementation

(define impc:compiler:print-already-bound-error
  (lambda (name type)
    (print-with-colors *impc:compiler:pretty-print-error-color*
                       'default #t (print "Compiler Error "))
    (print-with-colors *impc:compiler:pretty-print-name-color* 'default #t (print name))
    (print " already bound as ")
    (print-with-colors *impc:compiler:pretty-print-type-color* 'default #f (print type "\n"))
    (if (impc:aot:currently-compiling?)
        (quit 2)
        (throw ""))))


Back to Index