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

ActionObserver improved support for parameterized base class ctors & additional virtual calls #782

Merged
merged 5 commits into from
Mar 10, 2019

Conversation

stakx
Copy link
Contributor

@stakx stakx commented Mar 10, 2019

This adds test cases from two old issues, #430 and #432, which reveal some deficiencies in the current implementation of ActionObserver:

  • It cannot deal with proxyable types that do not have a parameterless ctor.
  • It trips up in debug mode when a base class ctor triggers virtual method calls.

This should fix both of those. Closes #430, closes #432.

This wouldn't fail if it weren't for `ExpressionReconstructor` which
totally ignores the possibility of running for objects that do not
have a parameterless ctor.
...by allowing a later call to override earlier calls. (Note that this
might still not be enough to fix the scenario where the final, import-
ant method also performs virtual calls from its own method body.)
@stakx stakx added this to the 4.11.0 milestone Mar 10, 2019
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.

Use of SetupSet 'forgets' Method Setup VerifySet fails on non-trivial property setter
1 participant