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

[3/n] Remove protocol extension methods #207

Conversation

andrewchang-bird
Copy link
Contributor

Although methods defined in protocol extensions can be re-defined in a conforming type, static dispatch means that the original method will always be called. Currently the generator creates mocking code for protocol extensions which was leading to unexpected results in tests for stubbing and verification.

Although methods defined in protocol extensions can be re-defined in a
conforming type, static dispatch means that the original method will
always be called. Currently the generator creates mocking code for
protocol extensions which was leading to unexpected results in tests
for stubbing and verification.
@andrewchang-bird andrewchang-bird force-pushed the remove-protocol-extension-methods branch from 09b1313 to 14af898 Compare July 9, 2021 21:19
@andrewchang-bird andrewchang-bird merged commit 14e4fc9 into typealiased:master Jul 9, 2021
@andrewchang-bird andrewchang-bird deleted the remove-protocol-extension-methods branch July 9, 2021 21:45
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.

None yet

2 participants