We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cond-let-to-cond-define
1 parent aa22009 commit a25a909Copy full SHA for a25a909
typed-racket-lib/typed-racket/typed-reader.rkt
@@ -24,8 +24,8 @@
24
(cond
25
[(special-comment? v) (loop)]
26
[(eof-object? v)
27
- (let-values ([(l c p) (port-next-location port)])
28
- (raise-read-eof-error "unexpected EOF in type annotation" src l c p 1))]
+ (define-values (l c p) (port-next-location port))
+ (raise-read-eof-error "unexpected EOF in type annotation" src l c p 1)]
29
[else v])))
30
31
(define (parse port read-one src)
0 commit comments