File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ see also term.rkt for some restrictions/changes there
198
198
[under-mismatch-ellipsis '() ])
199
199
(syntax-case term (side-condition variable-except variable-prefix
200
200
hole name in-hole hide-hole cross unquote and
201
- compatible-closure-context)
201
+ compatible-closure-context #%mf-apply )
202
202
[(side-condition pre-pat (and ))
203
203
;; rewriting metafunctions (and possibly other things) that have no where, etc clauses
204
204
;; end up with side-conditions that are empty 'and' expressions, so we just toss them here.
@@ -391,6 +391,10 @@ see also term.rkt for some restrictions/changes there
391
391
(list (make-id/depth term (length under))))]
392
392
[else
393
393
(values term '() )]))]
394
+ [(#%mf-apply _ ... )
395
+ (raise-syntax-error what "mf-apply cannot be used in a pattern position " orig-stx term)]
396
+ [#%mf-apply
397
+ (raise-syntax-error what "mf-apply cannot be used in a pattern position " orig-stx term)]
394
398
[(terms ... )
395
399
(let ()
396
400
(define terms-lst (syntax->list #'(terms ... )))
You can’t perform that action at this time.
0 commit comments