typed-racket/typed-racket-test/fail/poly-struct-parent2.rkt
2014-12-16 10:07:25 -05:00

8 lines
144 B
Racket

#;
("Could not instantiate parent struct type")
#lang typed/racket
(define-struct: (A) Box ([value : A]))
(define-struct: (Child-Box Box) ())