Skip to content

Improve error message for unused type#23633

Merged
2 commits merged into
masterfrom
unused-type
Apr 24, 2018
Merged

Improve error message for unused type#23633
2 commits merged into
masterfrom
unused-type

Conversation

@ghost

@ghost ghost commented Apr 23, 2018

Copy link
Copy Markdown

Fixes #23630

@ghost ghost requested review from DanielRosenwasser and mhegazy April 23, 2018 20:09
@DanielRosenwasser

Copy link
Copy Markdown
Member

I'd have preferred "but never used", but I think this is fine too.

@ghost ghost merged commit 969aa45 into master Apr 24, 2018
@ghost ghost deleted the unused-type branch April 24, 2018 15:54
@ghost

ghost commented Apr 26, 2018

Copy link
Copy Markdown
Author

@mjbvz I think vscode had some special handling for unused diagnostics based on the error message -- though it could probably use reportsUnnecessary for that now.

@microsoft microsoft locked and limited conversation to collaborators Jul 31, 2018
This pull request was closed.
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