Stack overflow within collectDynamicImportOrRequireCalls
See original GitHub issueTypeScript Version: 3.1.0-dev.20180925
git clone --depth=1 https://github.com/zuiidea/antd-admin.git
cd antd-admin
tsc --init
tsc --allowJs --checkJs
Compiler crashes with the callstack:
RangeError: Maximum call stack size exceeded
at Object.isRequireCall (node_modules\typescript\lib\tsc.js:7304:27)
at collectDynamicImportOrRequireCalls (node_modules\typescript\lib\tsc.js:69739:24)
at visitNode (node_modules\typescript\lib\tsc.js:12689:24)
at Object.forEachChild (node_modules\typescript\lib\tsc.js:12890:24)
at collectDynamicImportOrRequireCallsForEachChild (node_modules\typescript\lib\tsc.js:69754:20)
at collectDynamicImportOrRequireCalls (node_modules\typescript\lib\tsc.js:69748:17)
at visitNode (node_modules\typescript\lib\tsc.js:12689:24)
at Object.forEachChild (node_modules\typescript\lib\tsc.js:12890:24)
at collectDynamicImportOrRequireCallsForEachChild (node_modules\typescript\lib\tsc.js:69754:20)
at collectDynamicImportOrRequireCalls (node_modules\typescript\lib\tsc.js:69748:17)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Stack Overflow - Where Developers Learn, Share, & Build ...
Stack Overflow is the largest, most trusted online community for developers to learn, share their programming knowledge, and build their careers.
Read more >Stack Overflow - Wikipedia
Stack Overflow is a question and answer website for professional and enthusiast programmers. ... It features questions and answers on a wide range...
Read more >The Overflow
A newsletter by developers, for developers, curated by Cassidy Williams and the Stack Overflow team. Every week, we'll share a collection of great...
Read more >Stack Overflow NYC Office: Careers, Perks + Culture
Find jobs, benefits and insider info about Stack Overflow, an AdTech, Enterprise Web, Software company in New York.
Read more >Stack Overflow - LinkedIn
Our products and tools help developers and technologists in life and at work. These products include Stack Overflow for Teams, Stack Overflow ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
And, also 4. Use a language-service-like
grep import
combined with a filter over all nodes that match.@weswigham suggests: 3. In the parser, parse a flat list for too-large binary expressions, called OperatorListExpression, to be used when there are a lot of binary expressions in a row, all separated by the same operator.