Skip to content

Detect cycles during type instantiation #3239

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

Merged
merged 3 commits into from
May 21, 2015
Merged

Conversation

ahejlsberg
Copy link
Member

Fixes #3237.

@mhegazy
Copy link
Contributor

mhegazy commented May 21, 2015

👍

1 similar comment
@DanielRosenwasser
Copy link
Member

👍

ahejlsberg added a commit that referenced this pull request May 21, 2015
Detect cycles during type instantiation
@ahejlsberg ahejlsberg merged commit 8918c8a into master May 21, 2015
@ahejlsberg ahejlsberg deleted the cyclicTypeInstantiation branch May 21, 2015 22:13
@@ -1589,6 +1589,7 @@ module ts {
/* @internal */
export interface TypeMapper {
(t: TypeParameter): Type;
mappings?: Map<Type>; // Type mapping cache
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you write what the key and the value represent in the map?

@JsonFreeman
Copy link
Contributor

👍

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stack Overflow with InstatiateType
5 participants