public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/65272] switch on type of interface failing
2015-03-02 3:51 [Bug go/65272] New: switch on type of interface failing JamesMikeDuPont at googlemail dot com
@ 2015-03-02 3:51 ` JamesMikeDuPont at googlemail dot com
2015-03-02 3:52 ` JamesMikeDuPont at googlemail dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: JamesMikeDuPont at googlemail dot com @ 2015-03-02 3:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65272
--- Comment #1 from James Michael DuPont <JamesMikeDuPont at googlemail dot com> ---
output is :
test.go:6:8: error: expected type
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug go/65272] New: switch on type of interface failing
@ 2015-03-02 3:51 JamesMikeDuPont at googlemail dot com
2015-03-02 3:51 ` [Bug go/65272] " JamesMikeDuPont at googlemail dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: JamesMikeDuPont at googlemail dot com @ 2015-03-02 3:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65272
Bug ID: 65272
Summary: switch on type of interface failing
Product: gcc
Version: 4.9.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
Assignee: ian at airs dot com
Reporter: JamesMikeDuPont at googlemail dot com
CC: cmang at google dot com
package test;
func clr(q interface{}) {
switch x := q.(type) {
case *x:
return
}
occurs in : https://github.com/cznic/ql/blob/master/btree.go
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug go/65272] switch on type of interface failing
2015-03-02 3:51 [Bug go/65272] New: switch on type of interface failing JamesMikeDuPont at googlemail dot com
2015-03-02 3:51 ` [Bug go/65272] " JamesMikeDuPont at googlemail dot com
@ 2015-03-02 3:52 ` JamesMikeDuPont at googlemail dot com
2015-03-15 12:19 ` JamesMikeDuPont at googlemail dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: JamesMikeDuPont at googlemail dot com @ 2015-03-02 3:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65272
--- Comment #2 from James Michael DuPont <JamesMikeDuPont at googlemail dot com> ---
also on github https://github.com/golang/go/issues/10047
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug go/65272] switch on type of interface failing
2015-03-02 3:51 [Bug go/65272] New: switch on type of interface failing JamesMikeDuPont at googlemail dot com
2015-03-02 3:51 ` [Bug go/65272] " JamesMikeDuPont at googlemail dot com
2015-03-02 3:52 ` JamesMikeDuPont at googlemail dot com
@ 2015-03-15 12:19 ` JamesMikeDuPont at googlemail dot com
2015-03-15 16:27 ` ian at airs dot com
2015-03-15 17:17 ` JamesMikeDuPont at googlemail dot com
4 siblings, 0 replies; 6+ messages in thread
From: JamesMikeDuPont at googlemail dot com @ 2015-03-15 12:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65272
--- Comment #3 from James Michael DuPont <JamesMikeDuPont at googlemail dot com> ---
(In reply to James Michael DuPont from comment #2)
> also on github https://github.com/golang/go/issues/10047
this was closed on github because it is valid go.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug go/65272] switch on type of interface failing
2015-03-02 3:51 [Bug go/65272] New: switch on type of interface failing JamesMikeDuPont at googlemail dot com
` (2 preceding siblings ...)
2015-03-15 12:19 ` JamesMikeDuPont at googlemail dot com
@ 2015-03-15 16:27 ` ian at airs dot com
2015-03-15 17:17 ` JamesMikeDuPont at googlemail dot com
4 siblings, 0 replies; 6+ messages in thread
From: ian at airs dot com @ 2015-03-15 16:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65272
Ian Lance Taylor <ian at airs dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Ian Lance Taylor <ian at airs dot com> ---
I was also closed on github because the bug was fixed in gccgo.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug go/65272] switch on type of interface failing
2015-03-02 3:51 [Bug go/65272] New: switch on type of interface failing JamesMikeDuPont at googlemail dot com
` (3 preceding siblings ...)
2015-03-15 16:27 ` ian at airs dot com
@ 2015-03-15 17:17 ` JamesMikeDuPont at googlemail dot com
4 siblings, 0 replies; 6+ messages in thread
From: JamesMikeDuPont at googlemail dot com @ 2015-03-15 17:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65272
--- Comment #5 from James Michael DuPont <JamesMikeDuPont at googlemail dot com> ---
@iant thanks for the update. my bad, I got confused.
here is the commit.
https://github.com/gcc-mirror/gcc/commit/cc0446bae7c8c0ccead885787ad3fc4db0c127e0
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-03-15 17:17 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-02 3:51 [Bug go/65272] New: switch on type of interface failing JamesMikeDuPont at googlemail dot com
2015-03-02 3:51 ` [Bug go/65272] " JamesMikeDuPont at googlemail dot com
2015-03-02 3:52 ` JamesMikeDuPont at googlemail dot com
2015-03-15 12:19 ` JamesMikeDuPont at googlemail dot com
2015-03-15 16:27 ` ian at airs dot com
2015-03-15 17:17 ` JamesMikeDuPont at googlemail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).