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

Add setup.CallBase() for void methods #664

Merged
merged 3 commits into from
Aug 27, 2018
Merged

Conversation

stakx
Copy link
Contributor

@stakx stakx commented Aug 27, 2018

This closes #615.

Note that this adds a new minor inconsistency in the API: For non-void methods, it is possible to specify a .Callback() both before and after .CallBase(). The change proposed here only adds .CallBase() for void methods, but without the option of a subsequent call to .Callback(). It is left to a future PR to rectify this. (However, judging from the original feature request on Google Code and the preceding discussion linked there, it seems unlikely that anyone would actually need this.)

@stakx stakx merged commit b9a777a into devlooped:master Aug 27, 2018
@stakx stakx deleted the callbase branch August 27, 2018 13:14
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.

CallBase() is missing on ISetup<T>
1 participant