Skip to content

オブジェクトリテラルに重複したキーを用いると前方の値が評価されない #968

@takejohn

Description

@takejohn
{
  a: print(1)
  a: print(2)
}

上記のコードにおいて、2のみが出力されます。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions