On Thu, Nov 7, 2019 at 11:58 AM bsr <bsr...@gmail.com> wrote:

> Is there a way I can prevent this behavior.

Yes, if the rules for untyped literals are not wanted, make the
literal typed: https://play.golang.org/p/-f75y0Gb1Is

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAA40n-Xj1u03KyXWn9GGGzf8g%3DJj5us10Y379bQ4s-dn0sGs1Q%40mail.gmail.com.

Reply via email to