Re: [go-nuts] Are these types discarded? Is this a compiler bug?

2017-03-24 Thread Peter Kleiweg
Op donderdag 23 maart 2017 20:58:53 UTC+1 schreef Ian Lance Taylor: > > On Thu, Mar 23, 2017 at 11:56 AM, Peter Kleiweg > wrote: > > Op donderdag 23 maart 2017 17:46:18 UTC+1 schreef Ian Lance Taylor: > >> > >> On Thu, Mar 23, 2017 at 8:54 AM, Peter Kleiweg

Re: [go-nuts] Are these types discarded? Is this a compiler bug?

2017-03-23 Thread Ian Lance Taylor
On Thu, Mar 23, 2017 at 11:56 AM, Peter Kleiweg wrote: > Op donderdag 23 maart 2017 17:46:18 UTC+1 schreef Ian Lance Taylor: >> >> On Thu, Mar 23, 2017 at 8:54 AM, Peter Kleiweg wrote: >> > Some code that includes C code compiles fine on Linux, but gives

Re: [go-nuts] Are these types discarded? Is this a compiler bug?

2017-03-23 Thread Peter Kleiweg
Op donderdag 23 maart 2017 17:46:18 UTC+1 schreef Ian Lance Taylor: > > On Thu, Mar 23, 2017 at 8:54 AM, Peter Kleiweg > wrote: > > Some code that includes C code compiles fine on Linux, but gives strange > > errors on Darwin. > > > > > > In one source file, that doesn't

Re: [go-nuts] Are these types discarded? Is this a compiler bug?

2017-03-23 Thread Ian Lance Taylor
On Thu, Mar 23, 2017 at 8:54 AM, Peter Kleiweg wrote: > Some code that includes C code compiles fine on Linux, but gives strange > errors on Darwin. > > > In one source file, that doesn't include C, I have this: > > type reactor_socket struct { > e State >

[go-nuts] Are these types discarded? Is this a compiler bug?

2017-03-23 Thread Peter Kleiweg
Some code that includes C code compiles fine on Linux, but gives strange errors on Darwin. In one source file, that doesn't include C, I have this: type reactor_socket struct { e State