Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/link: symbol ....def listed multiple times #15926

Closed
ianlancetaylor opened this issue Jun 2, 2016 · 1 comment
Closed

cmd/link: symbol ....def listed multiple times #15926

ianlancetaylor opened this issue Jun 2, 2016 · 1 comment
Milestone

Comments

@ianlancetaylor
Copy link
Contributor

This program builds fine with 1.6, but fails to build on tip.

package main

type S struct{}

func (s S) def() {}

var I = S.def

func main() {
    I(S{})
}

go build foo.go prints

# command-line-arguments
2016/06/01 17:05:01 symbol go.dwarf.info.main.S.def listed multiple times
@ianlancetaylor ianlancetaylor added this to the Go1.7 milestone Jun 2, 2016
@gopherbot
Copy link

CL https://golang.org/cl/23733 mentions this issue.

@golang golang locked and limited conversation to collaborators Jun 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants