Skip to content

Commit 5f6b550

Browse files
authored
Add a missing syntax-track-origin
1 parent 9be5c6f commit 5f6b550

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

hackett-lib/hackett/private/type-language.rkt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,10 @@
124124
#:with x- (local-expand #'x 'expression '())
125125
#:attr expansion #'x-
126126
#:attr scoped-binding-ctxs '()
127-
#:attr residual (syntax-property #'(values)
128-
'disappeared-use
129-
(syntax-local-introduce #'x-))]
127+
#:attr residual (~> #'(values)
128+
(syntax-property 'disappeared-use
129+
(syntax-local-introduce #'x-))
130+
(syntax-track-origin #'expansion #'x))]
130131
[pattern (head:#%expression ~! {~var a (type intdef-ctx)})
131132
#:attr expansion (syntax-track-origin #'a.expansion this-syntax #'head)
132133
#:attr scoped-binding-ctxs '()

0 commit comments

Comments
 (0)