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
classHex<Data=any>{constructor(publicq: number=0,publicr: number=0,publicdata: Data=null){}/** * Creates a child class that extends Hex, and initializes by default * with data = `defaultData` * * @param defaultData */staticextend<Data>(defaultData: Data){returnclassextendsthis<Data>{constructor(q: number,r: number,data?: Partial<Data>){super(q,r,Object.assign({},data,defaultData));}staticdefaultData=defaultData;}}}
Expected behavior:tsc -watch works fine
Actual behavior:tsc -watch crashes, although tsc works fine
RangeError: Maximum call stack size exceeded
at isAccessible (C:\Users\coyot\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:22420:34)
at trySymbolTable (C:\Users\coyot\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:22426:21)
at getAccessibleSymbolChainFromSymbolTable (C:\Users\coyot\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:22412:30)
at forEachSymbolTableInScope (C:\Users\coyot\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:22373:34)
at getAccessibleSymbolChain (C:\Users\coyot\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:22407:20)
at isSymbolAccessible (C:\Users\coyot\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:22498:49)
at isTypeSymbolAccessible (C:\Users\coyot\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:22486:26)
at typeToTypeNodeHelper (C:\Users\coyot\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:22796:83)
at symbolToParameterDeclaration (C:\Users\coyot\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:23175:41)
at C:\Users\coyot\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:23129:89
Playground Link:
Related Issues:
#20695 , although the error log we get is different
The text was updated successfully, but these errors were encountered:
TypeScript Version: 2.7.2, 2.8.0-dev.2018031
Search Terms: Maximum call stack size exceeded
Code
Expected behavior:
tsc -watch
works fineActual behavior:
tsc -watch
crashes, althoughtsc
works finePlayground Link:
Related Issues:
#20695 , although the error log we get is different
The text was updated successfully, but these errors were encountered: