镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Instantiations with type literals are not properly cached/shared #11941

Description

Currently every occurrence of type literal in the source code creates new anonymous type which breaks caching of instantiations. #11934 covers one case (for {} type literal) however in general the problem still exists (#10451)

Activity

  1. added this to the milestone on Oct 29, 2016
  2. ahejlsberg commented on Nov 14, 2016

    @ahejlsberg
    Member

    I believe this has been fixed with the type alias instantiation caching logic that was added in #12114. Certainly the problem in #10451 no longer exists. I think we can close this one.

  3. modified the milestones: , on Nov 14, 2016
  4. locked and limited conversation to collaborators on Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions