Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax-parse: attributes don't cooperate with binding arrows #3008

Open
jackfirth opened this issue Jan 19, 2020 · 0 comments
Open

syntax-parse: attributes don't cooperate with binding arrows #3008

jackfirth opened this issue Jan 19, 2020 · 0 comments

Comments

@jackfirth
Copy link
Sponsor Contributor

In this macro:

(define-simple-macro (with-lock lock body:expr ...+)
  #:declare lock (expr/c #'lock?)
  (call/lock lock.c body ...))

DrRacket draws a binding arrow from lock to the entire lock.c identifier, instead of just the lock part.

image

If I rename lock to l using DrRacket, it replaces the entire lock.c identifier with l instead of with l.c like I'd expect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants