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.
1 parent 27b5386 commit 64a4f42Copy full SHA for 64a4f42
typed-racket-lib/typed-racket/typecheck/tc-funapp.rkt
@@ -82,7 +82,6 @@
82
[(Some: _ (Fun: (list arrow rst ...)))
83
(unless (null? rst)
84
(tc-error/fields "currently doesn't support case->" #:delayed? #f))
85
- (match-define (list (tc-results: (list (tc-result: t _ o)) _)) args-res)
86
(let ([checked-ret (tc/funapp1 f-stx args-stx arrow args-res expected)])
87
(match checked-ret
88
[(tc-results: (list (tc-result: t (PropSet: p+ p-) o__)) _)
typed-racket-test/succeed/gh-issue-987.rkt
@@ -0,0 +1,7 @@
1
+#lang typed/racket
2
+
3
+(: a (-> (Some (a) (-> a)) Void))
4
5
+(define (a sizeable)
6
+ (sizeable)
7
+ (void))
0 commit comments