typed-racket/typed-racket-test/fail/recursive-type-application.rkt
2014-12-16 10:07:25 -05:00

9 lines
166 B
Racket

#;
(exn-pred #rx"does not match the given number:")
#lang typed/racket
;; Check bad arity for recursive invocation of Foo
(define-type (Foo A) (Listof (Foo A A)))