On Thu, Aug 4, 2016 at 8:21 PM, Ian Lance Taylor <i...@golang.org> wrote:
> On Thu, Aug 4, 2016 at 11:19 AM, Manlio Perillo
> <manlio.peri...@gmail.com> wrote:
>> Il giorno giovedì 4 agosto 2016 17:54:33 UTC+2, Dave Cheney ha scritto:
>>>
>>> Fwiw, io.EOf can be converted to a constant, all the tests pass. But that
>>> would change the type of an exported symbol, so it's not possible.
>>
>>
>> Even though the type is not exported?
>> I can't see where the https://golang.org/doc/go1compat document forbids this
>> case.
>
> Changing the type of io.EOF so that it is no longer type `error` would
> break this package.
>

Ah, right; thanks.

errors.New returns a value of type error.


> [...]

Manlio

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to