typed-racket/typed-racket-test/fail/pr13562.rkt
Asumu Takikawa 2fc669e136 Adjust error message for test
Needed to change due to recent syntax-parse changes
2016-04-07 00:58:09 -04:00

9 lines
170 B
Racket

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