syntax/parse: fix disappeared-use property in attribute macro
This fixes the DrRacket check syntax arrows in uses of `attribute` like this: ```racket #lang racket/base (require syntax/parse) (syntax-parse #'a [a (attribute a)]) ```
This commit is contained in:
parent
4f5c54db54
commit
2923a3adcf
|
@ -99,7 +99,7 @@
|
|||
(raise-syntax-error #f "not bound as an attribute" stx #'name))
|
||||
(syntax-property (attribute-mapping-var attr)
|
||||
'disappeared-use
|
||||
#'name))))]))
|
||||
(list (syntax-local-introduce #'name))))))]))
|
||||
|
||||
;; (attribute-binding id)
|
||||
;; mostly for debugging/testing
|
||||
|
|
Loading…
Reference in New Issue
Block a user