Skip to content

cmd/go2go: _ = interface{type int}(1) fails with a bad error message #39699

@griesemer

Description

@griesemer

Extracted from: https://twitter.com/hajimehoshi/status/1273094191686586374

At the moment we don't permit usage of interfaces with type lists outside constraints, but this shouldn't fail like this. At least there should be clearer error message, or better, we should permit this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions