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

9 lines
160 B
Racket

#;
(exn-pred #rx"struct:: expected the literal")
#lang typed/racket
;; Check that #:methods is ruled out
(struct: foo ([a : Integer]) #:methods gen:dict [])