Re: [go-nuts] Go 1.10 Beta 1 is released

2017-12-08 Thread Ian Lance Taylor
On Fri, Dec 8, 2017 at 3:51 AM, Gabriel Aszalos
 wrote:
>> The grammar for method expressions has been updated to relax the syntax to 
>> allow any type expression as a receiver; this matches what the compilers 
>> were already implementing. For example, struct{io.Reader}.Read is a valid, 
>> if unusual, method expression that the compilers already accepted and is now 
>> permitted by the language grammar.
>
> I am quite curious - what was the reasoning behind this change? Is there a 
> thread or an issue anywhere that provides more context? Would love to 
> understand the use cases for this and the problem being solved.

https://golang.org/issue/9060.

Ian

-- 
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.


[go-nuts] Go 1.10 Beta 1 is released

2017-12-08 Thread Gabriel Aszalos
> The grammar for method expressions has been updated to relax the syntax to 
> allow any type expression as a receiver; this matches what the compilers were 
> already implementing. For example, struct{io.Reader}.Read is a valid, if 
> unusual, method expression that the compilers already accepted and is now 
> permitted by the language grammar.

I am quite curious - what was the reasoning behind this change? Is there a 
thread or an issue anywhere that provides more context? Would love to 
understand the use cases for this and the problem being solved. 

-- 
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.


[go-nuts] Go 1.10 Beta 1 is released

2017-12-07 Thread Andrew Bonventre
Hello gophers,

We have just released go1.10beta1, a beta version of Go 1.10.
It is cut from the master branch at the revision tagged go1.10beta1.

There are no known problems or regressions.
Please try running production load tests and your unit tests with the new
version.
Your help testing these pre-release versions is invaluable.

Report any problems using the issue tracker:
https://golang.org/issue/new

If you have Go installed already, the easiest way to try go1.10beta1
is by using this tool:
https://godoc.org/golang.org/x/build/version/go1.10beta1

You can download binary and source distributions from the usual place:
https://golang.org/dl/#go1.10beta1

To find out what has changed in Go 1.10, read the draft release notes:
https://beta.golang.org/doc/go1.10

Documentation for Go 1.10 is available at:
https://beta.golang.org/

Cheers,
Andy

-- 
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.