Skip to content

Commit 64a4f42

Browse files
capfredfsamth
authored andcommitted
remove an expression for debugging
fix #987
1 parent 27b5386 commit 64a4f42

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

typed-racket-lib/typed-racket/typecheck/tc-funapp.rkt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@
8282
[(Some: _ (Fun: (list arrow rst ...)))
8383
(unless (null? rst)
8484
(tc-error/fields "currently doesn't support case->" #:delayed? #f))
85-
(match-define (list (tc-results: (list (tc-result: t _ o)) _)) args-res)
8685
(let ([checked-ret (tc/funapp1 f-stx args-stx arrow args-res expected)])
8786
(match checked-ret
8887
[(tc-results: (list (tc-result: t (PropSet: p+ p-) o__)) _)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)