On Sun, Nov 18, 2018 at 6:42 PM <[email protected]> wrote:

It's consistent with the language specification ;-)

A constant value x can be converted to type T if x is representable by a
value of T.

https://golang.org/ref/spec#Conversions


-- 

-j

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to