Closed
Description
TypeScript Version: 3.2.0-dev.20181011
Confirmed repros back to at least 2.4
git clone --depth=1 https://github.com/quasarframework/quasar.git
cd quasar
tsc --init
tsc --allowJs --checkJs
Compiler crashes with the callstack:
RangeError: Maximum call stack size exceeded
at getTypeOfVariableOrParameterOrPropertyWorker (/usr/lib/node_modules/typescript/lib/tsc.js:28716:62)
at getTypeOfVariableOrParameterOrProperty (/usr/lib/node_modules/typescript/lib/tsc.js:28714:48)
at getTypeOfSymbol (/usr/lib/node_modules/typescript/lib/tsc.js:28979:24)
at getTypeOfAlias (/usr/lib/node_modules/typescript/lib/tsc.js:28942:23)
at getTypeOfSymbol (/usr/lib/node_modules/typescript/lib/tsc.js:28991:24)
at checkIdentifier (/usr/lib/node_modules/typescript/lib/tsc.js:37353:49)
at checkExpressionWorker (/usr/lib/node_modules/typescript/lib/tsc.js:42398:28)
at checkExpression (/usr/lib/node_modules/typescript/lib/tsc.js:42374:42)
at checkExpressionForMutableLocation (/usr/lib/node_modules/typescript/lib/tsc.js:42310:24)
at checkArrayLiteral (/usr/lib/node_modules/typescript/lib/tsc.js:38457:32)