Skip to content

Conversation

@fredj
Copy link
Member

@fredj fredj commented Mar 5, 2018

In #7614, the opt_this argument was removed from Observable#on, #once and #un but internal code was not adapted.

In #7614, the `opt_this` argument was removed from `Observable#on`, `#once` and `#un` but internal code was not adapted.
Copy link
Member

@ahocevar ahocevar left a comment

Choose a reason for hiding this comment

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

I'm wondering why none of this was caught by our tests, and why nobody noticed anything broken with these components. Would it make sense to add tests to avoid future regressions?

@fredj
Copy link
Member Author

fredj commented Mar 5, 2018

I think the typecheck npm script should have detected this; once we have path types everywhere we will need to make the compiler checks more strict.

@fredj fredj merged commit 95d9405 into master Mar 5, 2018
@fredj fredj deleted the on_to_listen branch March 5, 2018 14:26
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.

3 participants