impc:compiler:print-shadow-var-error   scheme


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

Implementation

(define impc:compiler:print-shadow-var-error
  (lambda (name)
    (print-with-colors *impc:compiler:pretty-print-error-color*
                       'default #t (print "Compiler Error"))
    (print " cannot define ")
    (print-with-colors *impc:compiler:pretty-print-name-color* 'default #t (print name))
    (print " as a shadow variable\n")
    (if (impc:aot:currently-compiling?)
        (quit 2)
        (throw ""))))


Back to Index