Skip to content

Report assignability errors on the return/yield keywords#52943

Merged
DanielRosenwasser merged 1 commit intomicrosoft:mainfrom
Andarist:report-errors-on-return-keyword
Mar 7, 2023
Merged

Report assignability errors on the return/yield keywords#52943
DanielRosenwasser merged 1 commit intomicrosoft:mainfrom
Andarist:report-errors-on-return-keyword

Conversation

@Andarist
Copy link
Copy Markdown
Contributor

closes #52934

I'm open to feedback as to how this could be further improved.

@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label Feb 23, 2023
@jakebailey
Copy link
Copy Markdown
Member

jakebailey commented Mar 7, 2023

I said this on #52934 (comment) but I am "pro" this change just because we have other instances (Playground Link) which place this error in a more-convenient less-squiggly place. It'd be cool do to this more. But, I'll defer to @DanielRosenwasser or a design meeting on this one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

For Backlog Bug PRs that fix a backlog bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Improve error locations for return type errors

6 participants