Skip to content

Gardening: Migrate test suite to GH issues p. 9 #60718

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

AnthonyLatsis
Copy link
Collaborator

No description provided.

@AnthonyLatsis AnthonyLatsis requested a review from xedin August 23, 2022 02:00
func nonThrowableDefaultRethrows(_ f: () throws -> () = {}) rethrows {
try f()
}
// NOTE: This should compile and not emit a diagnostic because ideally the compiler could statically
// know the default argument value could never throw. See SR-1524.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: should be SR-1534 (see #36455).

@AnthonyLatsis AnthonyLatsis force-pushed the migrate-test-suite-to-gh-issues-9 branch from c85ac49 to 93c964f Compare August 26, 2022 00:40
Comment on lines -545 to +547
static func fn(_ x: @escaping () -> Int) -> SR_10084_E_2 { // Okay
fatalError()
}
static func fn(_ x: @escaping () -> Int) -> E2_52486 {} // Okay
Copy link
Collaborator Author

@AnthonyLatsis AnthonyLatsis Aug 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am taking the liberty to remove some of these dummy returns within code I modified, since they present unnecessary noise and, conveniently, are mostly optional until after semantic analysis. Let me know if you consider this a bit too invasive.

@xedin
Copy link
Contributor

xedin commented Aug 26, 2022

@swift-ci please test

@AnthonyLatsis AnthonyLatsis merged commit 6fe9dd3 into swiftlang:main Aug 26, 2022
@AnthonyLatsis AnthonyLatsis deleted the migrate-test-suite-to-gh-issues-9 branch August 26, 2022 11:39
@AnthonyLatsis AnthonyLatsis linked an issue Jan 9, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants