Skip to content

Commit 15d4263

Browse files
authored
Fix a missing literal bug (#475)
1 parent 925c5e7 commit 15d4263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

default-recommendations/for-loop-shortcuts.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@
276276

277277
(define-definition-context-refactoring-rule for-set!-to-for/fold
278278
#:description "`for/fold` can be used instead of a mutating `for` loop"
279-
#:literals (for set!)
279+
#:literals (for set! define)
280280
(~seq body-before ...
281281
(define accum:id init-expr:expr)
282282
(for clauses for-body ... (set! accum2:id update-expr:expr))

0 commit comments

Comments
 (0)