Skip to content

npm link forces two imports of the same type to be compared structurally #14746

Closed
@hiroshi-cl

Description

@hiroshi-cl

TypeScript Version: 2.1.4, 2.1.6, 2.2.1

(my environment: node 7.7.3, OS X El Capitan)

Code

See > https://github.com/hiroshi-cl/bug-sample-tsc-crash

Expected behavior:

Some compiled code / user-friendly error message

Actual behavior:

crash (memory leak?)

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDuplicateAn existing issue was already created

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions