0
1
mirror of https://github.com/golang/go synced 2025-07-11 21:08:56 +00:00
Files
go/test/fixedbugs/issue3924.go
Daniel Morsing 5188c0b59c cmd/gc: Make sure bools lose idealness when used with logical operators.
Bools from comparisons can be assigned to all bool types, but this idealness would propagate through logical operators when the result should have been lowered to a non-ideal form.

Fixes #3924.

R=golang-dev, remyoudompheng, r, rsc, mtj
CC=golang-dev
https://golang.org/cl/6855061
2012-11-26 22:23:13 +01:00

327 B