diagnostic regression - unused variables from destructuring with rename #24142
Labels
Bug
A bug in TypeScript
Domain: Error Messages
The issue relates to error messaging
Fixed
A PR has been merged for this issue
TypeScript Version: 2.9.0-dev.20180509 and up
Code
Expected behavior:
Error produced in 2.9.0-dev.20180506 and before:
Actual behavior:
Error produced in 2.9.0-dev.20180509 and after:
Description:
Our TSLint tests based off of TypeScript@next started breaking a few days ago. I tracked one of the breaks down to the change in error messages noted above. The older error message seems more correct here - in the example above,
a
cannot actually be accessed.Related Issues: Possibly related to #23805?
The text was updated successfully, but these errors were encountered: