Skip to content

Conversation

DougGregor
Copy link
Member

String interpolation uses an end-of-file token, which we weren't checking for. Fixes rdar://146493296

… generally

Handle call-vs-tuple and subscript-vs-collection-expr disambiguation using the
same "no trivia" rule that we used to disambiguite "unsafe.x" (which we
treat as a member access) from "unsafe .x" (which we treat as an unsafe
expression with a leading-dot member access).

Fixes rdar://146459104.
String interpolation uses an end-of-file token, which we weren't
checking for. Fixes rdar://146493296
@DougGregor
Copy link
Member Author

swiftlang/swift-syntax#3005

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

This builds on #79842 to get Just One More Case.

@DougGregor
Copy link
Member Author

@swift-ci please test Windows

@DougGregor DougGregor merged commit aae0881 into swiftlang:main Mar 8, 2025
3 checks passed
@DougGregor DougGregor deleted the se-0458-eof-disambig branch March 8, 2025 15:53
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