template: mark pattern variables as disappeared
This fixes a bug introduced in 291565.
This commit is contained in:
parent
aaf1127093
commit
3c12957c7e
|
@ -369,6 +369,7 @@
|
|||
(define (make-src-ref var id)
|
||||
(cond [check `(#%expression (,check ,var 1 #f (quote-syntax ,id)))]
|
||||
[else var]))
|
||||
(disappeared! id)
|
||||
(frames-seen-pvar! depth0)
|
||||
(make-ref
|
||||
(let dloop ([depth depth0] [pvar-depth pvar-depth]) ;; ... -> Identifier
|
||||
|
|
Loading…
Reference in New Issue
Block a user