You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
griesemer
changed the title
cmd/compile: treats complex constant as integer
gccgo: does not convert untyped complex 0i to int in binary operation involving an int
Jul 3, 2015
gc successfully compiles the following program:
while gccgo says:
gccgo seems to be right, because 0i is imaginary literal.
go version devel +bb7e665 Tue Jun 30 07:42:37 2015 +0000 linux/amd64
The text was updated successfully, but these errors were encountered: