Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix checking of recursive callback types#19107

Merged
ahejlsberg merged 3 commits into
mastermicrosoft/TypeScript:masterfrom
fixRecursiveCallbacksmicrosoft/TypeScript:fixRecursiveCallbacksCopy head branch name to clipboard
Oct 11, 2017
Merged

Fix checking of recursive callback types#19107
ahejlsberg merged 3 commits into
mastermicrosoft/TypeScript:masterfrom
fixRecursiveCallbacksmicrosoft/TypeScript:fixRecursiveCallbacksCopy head branch name to clipboard

Conversation

@ahejlsberg

Copy link
Copy Markdown
Member

This PR fixes the logic introduced in #15104 to only check for callback parameters when we aren't in a recursive call to compareSignaturesRelated that resulted from an outer callback check.

Fixes #18277.

@ahejlsberg

Copy link
Copy Markdown
Member Author

This PR supercedes #19078.

@ahejlsberg ahejlsberg merged commit 6cf41ae into master Oct 11, 2017
@ahejlsberg ahejlsberg deleted the fixRecursiveCallbacks branch October 11, 2017 23:28
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
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.

Stack overflow while type checking generic, mutually-defined function interfaces

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.