New test for bug found by eli.
svn: r11969
This commit is contained in:
parent
dbf4462228
commit
665da912c8
9
collects/tests/typed-scheme/fail/nested-tvars.ss
Normal file
9
collects/tests/typed-scheme/fail/nested-tvars.ss
Normal file
|
@ -0,0 +1,9 @@
|
|||
#lang typed-scheme
|
||||
|
||||
(: f (All (a) (a -> a)))
|
||||
(define (f x)
|
||||
(: g (All (b) (a (Listof a) -> (Listof a))))
|
||||
(define (g x y) y)
|
||||
(g "foo" (list "foo")))
|
||||
|
||||
(f 3)
|
Loading…
Reference in New Issue
Block a user