Skip to content

cmd/gc: internal compiler error for interface method expressions at package-level #4495

@griesemer

Description

@griesemer
The gc compiler reports:

prog.go:38: internal compiler error: lookdot badwidth m method(*struct {}) func() int
7fa553661e50

for interface method expressons at the package level:

http://play.golang.org/p/L7RiV2PHOE

gccgo compiles and runs the same code w/o issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeSuggestedIssues that may be good for new contributors looking for work to do.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions