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

@ianlancetaylor ianlancetaylor commented Jun 2, 2016

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

This comment has been minimized.

Copy link

@gopherbot gopherbot commented Jun 3, 2016

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

@gopherbot gopherbot closed this in 6901b08 Jun 3, 2016
@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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.