You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test.ts:2:8 - error TS6133: 'b' is declared but its value is never read.
2 let {a: b} = {a: 4};
~~~~
Actual behavior:
Error produced in 2.9.0-dev.20180509 and after:
test.ts:2:7 - error TS6133: 'a' is declared but its value is never read.
2 let {a: b} = {a: 4};
~~~~~~
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.
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,
acannot actually be accessed.Related Issues: Possibly related to #23805?