Skip to content

Commit 87a47f0

Browse files
Copilotjackfirth
andcommitted
Document how to extend expander property preservation
Add a comment explaining how to add new expander properties to the preservation list when needed. Co-authored-by: jackfirth <[email protected]>
1 parent 4f1813c commit 87a47f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

private/analysis.rkt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@
226226
;; such as 'class-body which marks syntax inside a class body and affects
227227
;; which refactoring rules can be applied. These properties are not captured
228228
;; by expansion analyzers and must be manually extracted from visited syntax.
229+
;; If new expander properties need to be preserved, add them to this list.
229230
(define expander-property-keys '(class-body))
230231
(define expander-property-entries
231232
(for*/list ([(path visit) (in-hash most-recent-visits-by-original-path)]

0 commit comments

Comments
 (0)