]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: reject complex calls with mismatched argument types.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Mon, 11 Mar 2013 21:55:14 +0000 (22:55 +0100)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Mon, 11 Mar 2013 21:55:14 +0000 (22:55 +0100)
commit401e0fea3ad120a495f7c8770cfbf1278c00c16e
tree5abe992f93e6f84a45c8d9d8bd963326dfd6de32
parente15c0ac693dec3379306f5c0942812f12a37e736
cmd/gc: reject complex calls with mismatched argument types.

The specification says "the two arguments must be of the same
floating-point type."

R=rsc, gri
CC=golang-dev
https://golang.org/cl/7671045
src/cmd/gc/typecheck.c
test/cmplx.go