Skip to content

[SwiftParser] Parse module-selected keyword references - #3393

Draft
ZHUOLIN0928 wants to merge 1 commit into
swiftlang:mainfrom
ZHUOLIN0928:codex/3387-module-selected-keyword
Draft

[SwiftParser] Parse module-selected keyword references#3393
ZHUOLIN0928 wants to merge 1 commit into
swiftlang:mainfrom
ZHUOLIN0928:codex/3387-module-selected-keyword

Conversation

@ZHUOLIN0928

Copy link
Copy Markdown

Summary

  • keep module-selected keyword references eligible at expression start
  • add regression coverage for Module::as(x) and Module::is(x)

Fixes #3387.

Validation

  • swift build --product SwiftParser
  • git diff --check

The focused XCTest target could not run on this machine because the installed CommandLineTools SDK does not provide the XCTest module.

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.

[SwiftParser] Module-selected keyword references such as Module::as(x) are parsed as unexpected code

1 participant