Skip to content

Commit 2fba63c

Browse files
Copilotjackfirth
andauthored
Simplify syntax-path API to use integer-only indices (#692)
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jackfirth <[email protected]>
1 parent ddbc057 commit 2fba63c

File tree

3 files changed

+333
-237
lines changed

3 files changed

+333
-237
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
compiled/
22
doc/
33
*~
4+
*.backup
45
# These only come up if you generate the scribble docs manually, instead of
56
# through `raco setup`. But we exclude them anyway to help newcomers (and
67
# Copilot) avoid accidentally committing rendered documentation files.

private/syntax-movement.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,6 @@
9191

9292
; void
9393
(syntax-path (list 3 0))
94-
(sorted-set (syntax-path (list 3 2 (tail-syntax 1) 0)) #:comparator syntax-path<=>)))
94+
(sorted-set (syntax-path (list 3 2 1)) #:comparator syntax-path<=>)))
9595

9696
(check-equal? table expected-table)))

0 commit comments

Comments
 (0)