Skip to content
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

[2/y] Fix warnings in throwing initializers #284

Merged

Conversation

andrewchang-bird
Copy link
Contributor

@andrewchang-bird andrewchang-bird commented Jan 27, 2022

Stack

πŸ“š #287 [5/y] Improve static mocking APIs
πŸ“š #286 [4/y] Enable mocking sources in test bundles
πŸ“š #285 [3/y] Fix read-only subscripts
πŸ“š #284 ← [2/y] Fix warnings in throwing initializers
πŸ“š #283 [1/y] Add backwards compatibility with Swift 5.5

Overview

Fixes compile-time warnings in mocked initializer declarations like the one below:

No calls to throwing functions occur within 'try' expression

Test Plan

Enabled β€œtreat warnings as errors” on the tests target so that the CI can catch regressions in generator warnings.

Base automatically changed from dev/andrewchang-bird/support-swift-5.5 to master January 28, 2022 21:06
Allows us to enable Swift warnings-as-errors on the Mockingbird tests
target without false positives.
@andrewchang-bird andrewchang-bird force-pushed the dev/andrewchang-bird/fix-initializer-warnings branch from bec1ac2 to b558190 Compare January 28, 2022 21:08
@andrewchang-bird andrewchang-bird merged commit f6e080c into master Jan 28, 2022
@andrewchang-bird andrewchang-bird deleted the dev/andrewchang-bird/fix-initializer-warnings branch January 28, 2022 21:09
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