Hello,

I see that the following code

func main() { println(100 % 1e2) }

is rejected by the compiler with "invalid operation: operator % not defined 
on untyped float"

but the following

func main() { i := 100; println(i % 1e2) }

is happily accepted. Should I open an issue on this ? What should the 
normal behaviour be ?

Thanks!

-- 
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/0a47bee7-6953-4f14-9dfc-d0c18076b2aa%40googlegroups.com.

Reply via email to