Skip to content

Commit f514b0f

Browse files
Copilotjackfirth
andcommitted
Return #t instead of (void) for no-suggestion rules
When a rule uses #:no-suggestion, the transformer now returns (present #t) instead of (present #'(void)) for pattern matches. Co-authored-by: jackfirth <8175575+jackfirth@users.noreply.github.com>
1 parent 367ae06 commit f514b0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

base.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
[pattern
174174
(~? (~@ #:do [partial-match-log-statement]))
175175
(~@ . wrapped-pattern-directive) ...
176-
(~? (present #'replacement) (present #'(void)))]
176+
(~? (present #'replacement) (present #t))]
177177
[_ absent])))))
178178

179179

0 commit comments

Comments
 (0)