Message ID | mcrmxm3h186.fsf@google.com |
---|---|
State | New |
Headers | show |
diff -r 954a311caec4 go/expressions.cc --- a/go/expressions.cc Thu Feb 10 15:57:34 2011 -0800 +++ b/go/expressions.cc Thu Feb 10 16:14:33 2011 -0800 @@ -5159,7 +5159,7 @@ { // May be a type error--let it be diagnosed later. } - else if (is_comparison) + else if (op == OPERATOR_EQEQ || op == OPERATOR_NOTEQ) { bool b = Binary_expression::compare_complex(op, (left_type != NULL