Skip to content

Commit

Permalink
test that nested has ellipsis depth 0
Browse files Browse the repository at this point in the history
fixes #39
  • Loading branch information
quasarbright committed Sep 29, 2024
1 parent 2faaed5 commit f47e205
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/errors.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,13 @@
(foo a:racket-var)
#:binding [a ...])))

(check-decl-error
#rx"nonterminal/nesting: too many ellipses for pattern variable in binding spec"
(syntax-spec
(nonterminal/nesting expr (nested)
(foo a:racket-var)
#:binding (scope (bind a) nested ...))))

;;
;; Valid definitions used to exercise errors
;;
Expand Down

0 comments on commit f47e205

Please sign in to comment.