Skip to content

SwiftExtract: fix subscript label handling#801

Merged
ktoso merged 1 commit into
swiftlang:mainfrom
ktoso:ktoso/extract-subscript-no-label
Jun 23, 2026
Merged

SwiftExtract: fix subscript label handling#801
ktoso merged 1 commit into
swiftlang:mainfrom
ktoso:ktoso/extract-subscript-no-label

Conversation

@ktoso

@ktoso ktoso commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

A subscript declaration subscript(index: Int) is called as obj[5], not obj[index: 5].

A subscript declaration `subscript(index: Int)` is called as `obj[5]`,
not `obj[index: 5]`.
@ktoso ktoso merged commit 44022e2 into swiftlang:main Jun 23, 2026
41 of 42 checks passed
@ktoso ktoso deleted the ktoso/extract-subscript-no-label branch June 23, 2026 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant