Skip to content

Commit 150f172

Browse files
committed
add placeholder #:pool argument for thread
It's not ok to leave out optional keyword arguments (and I fumbled my check of the previous change). Adding `#:pool` as allowing anything, for now.
1 parent 0318907 commit 150f172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typed-racket-lib/typed-racket/base-env/base-env.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1601,7 +1601,7 @@
16011601
;; Section 11.1 (Threads)
16021602

16031603
;; Section 11.1.1
1604-
[thread (->key (-> Univ) #:keep (Un #f (-val 'results)) #f -Thread)]
1604+
[thread (->key (-> Univ) #:keep (Un (-val #f) (-val 'results)) #f #:pool Univ #f -Thread)]
16051605
[thread? (unsafe-shallow:make-pred-ty -Thread)]
16061606
[current-thread (-> -Thread)]
16071607
[thread/suspend-to-kill (-> (-> Univ) -Thread)]

0 commit comments

Comments
 (0)