New test for bug found by eli.
svn: r11969 original commit: 665da912c8d1ed05a973a1cb3d2679678a94187b
This commit is contained in:
parent
687faf6d08
commit
5239b94d65
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