Improve TR test case
original commit: 75f0c88feb1586adb445e892f44a19b97bfe4293
This commit is contained in:
parent
8d9464940b
commit
88c2fecdf7
|
@ -1,7 +1,12 @@
|
|||
#;
|
||||
(exn-pred exn:fail:syntax?)
|
||||
(exn-pred #rx"arguments for structure type constructor")
|
||||
#lang typed/racket
|
||||
|
||||
;; Test for PR 13209
|
||||
;;
|
||||
;; The use of `node` at the end has the wrong number of
|
||||
;; type arguments. This should not raise an internal error.
|
||||
|
||||
(struct: (α) leaf ({value : α}))
|
||||
(struct: (α) node ({left : [Tree α]} {right : [Tree α]}))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user