Skip to content

test: add test case for runtime type identity for generics instantiated with anonymous struct literals with tags #46591

@mdempsky

Description

@mdempsky

This program should print 2: https://go2goplay.golang.org/p/CC066DjHD5x

cmd/compile gets this right, but cmd/go2go prints 1.

/cc @ianlancetaylor @griesemer (thx @dominikh for test case)

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions