Skip to content

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented May 3, 2023

When emitting a path literal into the template for the expression evaluation, ensure that we properly escape the native path spelling as it may contain \ on Windows which fails to lex in the Swift frontend, resulting in failures. This enables partial expression evaluation for Windows (potentially sufficiently complete for basic po usage).

@compnerd
Copy link
Member Author

compnerd commented May 3, 2023

@compnerd
Copy link
Member Author

compnerd commented May 3, 2023

@swift-ci please test

When emitting a path literal into the template for the expression
evaluation, ensure that we properly escape the native path spelling as
it may contain `\` on Windows which fails to lex in the Swift frontend,
resulting in failures.  This enables partial expression evaluation for
Windows (potentially sufficiently complete for basic `po` usage).
@compnerd
Copy link
Member Author

compnerd commented May 3, 2023

@swift-ci please test

@compnerd
Copy link
Member Author

compnerd commented May 3, 2023

@swift-ci please test Windows platform

@compnerd compnerd merged commit 932d7db into swiftlang:swift/release/5.9 May 3, 2023
@compnerd compnerd deleted the expression branch May 3, 2023 20:40
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.

2 participants