Skip to content

Conversation

itingliu
Copy link
Contributor

TestSupport already defines a typealias for Expression as public typealias Expression = Foundation.Expression. Therefore the top level typealias private typealias Expression = URL.Template.Expression caused an error when TestSupport is imported.

Move the typealias declaration to inside the test suite.

`TestSupport` already defines a typealias for `Expression` as `public typealias Expression = Foundation.Expression`. Therefore the top level typealias `private typealias Expression = URL.Template.Expression` caused an error when `TestSupport` is imported.

Move the typealias declaration to inside the test suite.
@itingliu
Copy link
Contributor Author

@swift-ci please test

@itingliu itingliu requested review from jrflat and jmschonfeld April 21, 2025 23:11
@itingliu itingliu merged commit 8d63523 into swiftlang:main Apr 22, 2025
3 checks passed
@itingliu itingliu deleted the uri-template-test-update branch April 22, 2025 14:32
itingliu added a commit to itingliu/swift-foundation that referenced this pull request Apr 22, 2025
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.

3 participants