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/gc: dummy declarations should be optimized away #2443

Closed
rsc opened this issue Nov 11, 2011 · 5 comments
Closed

cmd/gc: dummy declarations should be optimized away #2443

rsc opened this issue Nov 11, 2011 · 5 comments

Comments

@rsc
Copy link
Contributor

rsc commented Nov 11, 2011

package p

import (
    "io"
    "os"
)

var _ io.Reader = (*os.File)(nil)

should not have an init function, but does
@lvdlvd
Copy link

lvdlvd commented Nov 14, 2011

Comment 1:

Labels changed: added compilerbug, performance.

@rsc
Copy link
Contributor Author

rsc commented Dec 9, 2011

Comment 2:

Labels changed: added priority-later.

@rsc
Copy link
Contributor Author

rsc commented Sep 12, 2012

Comment 4:

Labels changed: added go1.1.

@rsc
Copy link
Contributor Author

rsc commented Dec 10, 2012

Comment 5:

Labels changed: added size-l.

@rsc
Copy link
Contributor Author

rsc commented Dec 30, 2012

Comment 6:

This issue was closed by revision 6592456.

Status changed to Fixed.

@rsc rsc self-assigned this Dec 30, 2012
@rsc rsc added this to the Go1.1 milestone Apr 14, 2015
@rsc rsc removed the go1.1 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc removed their assignment Jun 22, 2022
This issue was closed.
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

3 participants