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

Reply via email to