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
/Users/seanchas116/Repos/seanchas116/typescript-destructuring-test/node_modules/typescript/lib/tsc.js:30338
throw e;
^
TypeError: Cannot read property 'flags' of undefined
at getSymbolLinks (/Users/seanchas116/Repos/seanchas116/typescript-destructuring-test/node_modules/typescript/lib/tsc.js:10715:23)
at assignBindingElementTypes (/Users/seanchas116/Repos/seanchas116/typescript-destructuring-test/node_modules/typescript/lib/tsc.js:17679:25)
at assignTypeToParameterAndFixTypeParameters (/Users/seanchas116/Repos/seanchas116/typescript-destructuring-test/node_modules/typescript/lib/tsc.js:17689:17)
at assignContextualParameterTypes (/Users/seanchas116/Repos/seanchas116/typescript-destructuring-test/node_modules/typescript/lib/tsc.js:17666:17)
at checkFunctionExpressionOrObjectLiteralMethod (/Users/seanchas116/Repos/seanchas116/typescript-destructuring-test/node_modules/typescript/lib/tsc.js:17860:29)
at checkExpressionWorker (/Users/seanchas116/Repos/seanchas116/typescript-destructuring-test/node_modules/typescript/lib/tsc.js:18503:28)
at checkExpression (/Users/seanchas116/Repos/seanchas116/typescript-destructuring-test/node_modules/typescript/lib/tsc.js:18445:42)
at checkExpressionWithContextualType (/Users/seanchas116/Repos/seanchas116/typescript-destructuring-test/node_modules/typescript/lib/tsc.js:18399:26)
at checkApplicableSignature (/Users/seanchas116/Repos/seanchas116/typescript-destructuring-test/node_modules/typescript/lib/tsc.js:17162:31)
at chooseOverload (/Users/seanchas116/Repos/seanchas116/typescript-destructuring-test/node_modules/typescript/lib/tsc.js:17448:30)
The text was updated successfully, but these errors were encountered:
Hi,
I found
tsc
crashes when compiling nested array destruction in function parameter (example below).TypeScript version
1.8.0-dev.20151024 (installed via
npm install typescript@next
)Example Source
Command
Trace
The text was updated successfully, but these errors were encountered: