typed-racket/typed-racket-test/succeed/pr11756.rkt
2014-12-16 10:07:25 -05:00

11 lines
228 B
Racket

#lang typed/racket/base
(: test : (All (X) X -> (All (Y) Y -> X)))
(define (test n)
(: helper : (All (Z) Z -> X))
(define (helper m) n)
helper)
; if the below is commented out the code runs without errors
(provide test)