I had a struct that I was mutating in a return statement, and the return
value was an interface. Weirdly, this mutation worked in 1.2, but failed in
Here's an example:
1.3 has the following output:
And 1.2 has the following output:
I'm not sure if this is documented behavior or not.
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 firstname.lastname@example.org.
For more options, visit https://groups.google.com/d/optout.