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 <[email protected]>
1 parent 367ae06 commit f514b0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)