Skip to content

Replace subtype check in derivedness check with flags and structure checks#27403

Merged
weswigham merged 3 commits into
microsoft:masterfrom
weswigham:instanceof-extending-function
Oct 4, 2018
Merged

Replace subtype check in derivedness check with flags and structure checks#27403
weswigham merged 3 commits into
microsoft:masterfrom
weswigham:instanceof-extending-function

Conversation

@weswigham
Copy link
Copy Markdown
Member

This way even if a given class or object overrides a method on Object or Function in a structurally incompatible way, they still get measured as instances of those bases for instanceof.

Fixes #26159

@weswigham weswigham merged commit f074049 into microsoft:master Oct 4, 2018
@weswigham weswigham deleted the instanceof-extending-function branch October 4, 2018 19:55
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants