--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
The change is not a violation of the compatibility promise, so technically we can do it.
On Wed, May 6, 2015 at 1:02 AM, Andrew Gerrand <a...@golang.org> wrote:The change is not a violation of the compatibility promise, so technically we can do it.I agree that the Go 1 API guarantee doesn't forbid this kind of changes, but my concernis that it still breaks source level compatibility and a test in the standard library.I find it hard to believe that the test in the syscall package is badly written.
There is nothing in doc/go1.5.txt for this potentially breaking change (not in the strictestsense of breaking API, but it does have the potential to break user programs, silently.)
I tend to agree, if we don't already, we should have tests that asserts the errors returned by the net package comply with an interface, not as a specified type.
Offhand I don't know if we do or do not have those tests.
--
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.