Skip to content

go/types: validity of program depends on method declaration order #23203

@griesemer

Description

@griesemer

https://play.golang.org/p/WCktUidLyc_ is accepted while the equivalent program https://play.golang.org/p/Z-B9rBhYILd fails with an error. The only difference is the order of the method declarations.

Esoteric case, but may not be too hard to get right. Marking for 1.11 in case we get to it.

See also #23202.

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