typed-racket/typed-racket-test/fail/top-level-srcloc.rkt
Asumu Takikawa e8820503e7 Fix source location tracking for top-level forms
This had broken due to trampoline-based refactoring
2015-09-30 17:03:22 -04:00

10 lines
188 B
Racket

#;
(exn-pred (regexp-quote "in: (apply + (quote foo))"))
#lang racket/load
;; Test that top-level source locations are recovered in error messages
(require typed/racket)
(apply + 'foo)