check errors earlier in judgment-form
closes PR 13609 closes PR 13610
This commit is contained in:
parent
fd9fce47d9
commit
99ff0adbfd
|
@ -719,8 +719,10 @@
|
||||||
|
|
||||||
(define-syntax (judgment-holds stx)
|
(define-syntax (judgment-holds stx)
|
||||||
(syntax-case stx ()
|
(syntax-case stx ()
|
||||||
[(_ args ...)
|
[(_ (jf-id . args))
|
||||||
#'(#%expression (judgment-holds/derivation judgment-holds #f args ...))]))
|
#'(#%expression (judgment-holds/derivation judgment-holds #f (jf-id . args)))]
|
||||||
|
[(_ (jf-id . args) trm)
|
||||||
|
#'(#%expression (judgment-holds/derivation judgment-holds #f (jf-id . args) trm))]))
|
||||||
|
|
||||||
(define-syntax (build-derivations stx)
|
(define-syntax (build-derivations stx)
|
||||||
(syntax-case stx ()
|
(syntax-case stx ()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user