Skip to content

Conversation

Azoy
Copy link
Contributor

@Azoy Azoy commented May 12, 2022

This PR wraps character classes like .digit around One(.digit) in contexts where it will be treated as a member reference. I also made the change to force syntax like:

OneOrMore(.digit)

to avoid the inevitable:

OneOrMore {
  One(.digit)
}

(DSL printing needs a refactor)

@Azoy Azoy requested review from DaveEwing and milseman May 12, 2022 22:11
@Azoy
Copy link
Contributor Author

Azoy commented May 13, 2022

@swift-ci please test

@Azoy Azoy merged commit 489c63c into swiftlang:main May 13, 2022
@Azoy Azoy deleted the more-patternconverter-updates branch May 13, 2022 03:13
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