Skip to content

Compiler OOM on strict generic checks  #19662

Closed
@mhegazy

Description

@mhegazy

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.

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptNeeds More InfoThe issue still hasn't been fully clarified

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions