Skip to content

Conversation

rbuckton
Copy link
Contributor

@rbuckton rbuckton commented Apr 8, 2020

We had two functions doing essentially the same thing for the same purposes, with a very slight difference. That difference resulted in us returning errorType in some cases but not in others, and as a consequence we would not report an error when comparing the type of the return value to the return type of the function.

Fixes #36827

@rbuckton rbuckton merged commit 5db4e7a into master Apr 8, 2020
@rbuckton rbuckton deleted the fix36827 branch April 8, 2020 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No typechecking on const async arrow function with block body in JS
3 participants