-
-
Notifications
You must be signed in to change notification settings - Fork 35
Compile time check implementation #131
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: master
Are you sure you want to change the base?
Conversation
…e-time-exn and check-not-compile-time-exn
In the latter case, the exception raised must be an @racket[exn:fail?]. | ||
} | ||
|
||
@defform[(check-compile-time-exn (expr (-> any))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo. Should be check-not-compile-time-exn
.
[(_ expr:expr) | ||
#:with loc (datum->syntax #f 'loc stx) | ||
#'(let ([location (syntax->location #'loc)]) | ||
(with-check-info (['name 'check-compile-time-exn] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! These should be fixed now.
This looks good |
Updated implementation from #114.
Resolves racket/racket#2996
Adds:
check-compile-time-exn
check-not-compile-time-exn
Comments and thoughts welcome!