Fixed arrow tracking in lib/low (wrong syntax/loc for the module's initial require form etc.)
This commit is contained in:
parent
b601cf4498
commit
5c7e49bebb
|
@ -101,9 +101,9 @@
|
||||||
(begin
|
(begin
|
||||||
(define-syntax (define-typed/untyped-modules stx)
|
(define-syntax (define-typed/untyped-modules stx)
|
||||||
(syntax-parse stx
|
(syntax-parse stx
|
||||||
[(_ (~optional (~and no-test #:no-test))
|
[(def-t/u-mod (~optional (~and no-test #:no-test))
|
||||||
(~optional (~and untyped-first #:untyped-first)) . body)
|
(~optional (~and untyped-first #:untyped-first)) . body)
|
||||||
(define (ds sym) (datum->syntax stx sym stx))
|
(define (ds sym) (datum->syntax #'def-t/u-mod sym #'def-t/u-mod))
|
||||||
(define/with-syntax module-typed
|
(define/with-syntax module-typed
|
||||||
#`(module #,(ds 'typed) #,(ds 'typed/racket)
|
#`(module #,(ds 'typed) #,(ds 'typed/racket)
|
||||||
. body))
|
. body))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user