-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Compiler OOM on strict generic checks #19662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Unless gulp-typescript changed something where passing [email protected] Just for reference, here is where the options block is passed through my build process: I may have to just wait for a fix. |
Ok so this officially has be come a serious issue. (related #20251) TS 2.6.0 will allow me to add: readonly [Symbol.toStringTag]: "Promise"; But TS 2.3.2 will not. And 2.3.2 is the latest version that will compile my code successfully. |
Process is running out out of memory on TS 2.6.2 when running
I also tried
As recommended in #18411, but no dice. Non-watch mode and the IDE interface are OK. |
@aldendaniels can you share your project |
Closing for now. please reopen if a sample exists. |
Reported in #18411 (comment)
Project: https://github.com/electricessence/TypeScript.NET
The project compiles in Webstorm for the existing tsconfigs with 2.7. But I'm dependent on gulp to render my distributions and run tests. The area where it gets problematic is in /source/System.Linq where the Linq.ts lib tries to reconcile the extensive interface signature. If I rip out the guts of the interface, it will compile (although still quite slowly relative to 2.3.2)
Note:
--noStrictGenericChecks
seems to avoid the crash.The text was updated successfully, but these errors were encountered: