Avoid stripping location information from syntax object in warning message.
This commit is contained in:
parent
b808d2809e
commit
f2616b934c
|
@ -55,7 +55,7 @@ don't depend on any other portion of the system
|
||||||
#;(syntax-source-module stx))
|
#;(syntax-source-module stx))
|
||||||
(log-message l 'warning
|
(log-message l 'warning
|
||||||
(format "Typed Racket has detected unreachable code: ~.s"
|
(format "Typed Racket has detected unreachable code: ~.s"
|
||||||
(syntax->datum (locate-stx e)))
|
(locate-stx e))
|
||||||
e))))
|
e))))
|
||||||
|
|
||||||
(define (locate-stx stx)
|
(define (locate-stx stx)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user