Skip to content

Commit b21c966

Browse files
committed
fix type for unbox
1 parent 9c484ea commit b21c966

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
@@ -868,7 +868,7 @@
868868
[box (-poly (a) (a . -> . (-box a)))]
869869
[box-immutable (-poly (a) (a . -> . (-Read-Only-Boxof a)))]
870870
[unbox (-poly (a) (cl->*
871-
((-box a) . -> . a)
871+
((-box -Bottom a) . -> . a)
872872
((make-BoxTop) . -> . Univ)))]
873873
[set-box! (-poly (a) ((-box a) a . -> . -Void))]
874874
[unsafe-unbox (-poly (a) (cl->*

0 commit comments

Comments
 (0)