more testing
This commit is contained in:
parent
2c03f2223b
commit
0558d11abb
10
collects/tests/typed-scheme/succeed/het-vec.ss
Normal file
10
collects/tests/typed-scheme/succeed/het-vec.ss
Normal file
|
@ -0,0 +1,10 @@
|
|||
#lang typed/scheme
|
||||
|
||||
(ann (vector-ref #(1 'foo 3) 0) Integer)
|
||||
|
||||
(define: x : (Vector Number String Symbol) (vector 1 "foo" 'bar))
|
||||
|
||||
(define: y : 2 2)
|
||||
|
||||
(ann (vector-ref x 1) String)
|
||||
(ann (vector-ref x y) Symbol)
|
Loading…
Reference in New Issue
Block a user