typed-racket/typed-racket-test/fail/top-level-unit-and-class.rkt
Asumu Takikawa 5fa40de546 Avoid ignoring class/unit forms at the top-level
Possibly a better long-term solution (for after the release)
is to not use the ignore property here and instead just use the
ignore table.
2015-10-21 13:33:30 -04:00

9 lines
149 B
Racket

#lang racket/load
;; A test for GH issue #220
(require typed/racket)
(class object% (super-new) (+ 1 "foo"))
(unit (import) (export) (+ 1 "foo"))