Skip to content

Improve type inference for IndexExpressionAst #3857

Closed

Description

We currently infer object as the type of (1,2,3)[0].
While not incorrect, we can clearly do better in the cases where the target expression is an ArrayLiteral.

Activity

  1. added
    WG-Engine
    Issue-Enhancement
    on May 26, 2017
  2. MartinGC94 commented on Mar 4, 2022

    @MartinGC94
    Contributor

    Seems like this was fixed in: #8100 so this issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-EnhancementResolution-FixedWG-Engine

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions