Skip to content

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

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

Wesley Wigham (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

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