| Submitter | Ian Taylor |
|---|---|
| Date | Sept. 22, 2012, 6:33 a.m. |
| Message ID | <mcrmx0io9bx.fsf@google.com> |
| Download | mbox | patch |
| Permalink | /patch/186098/ |
| State | New |
| Headers | show |
Comments
Patch
diff -r c972277cb9d2 go/expressions.cc --- a/go/expressions.cc Fri Sep 21 23:03:46 2012 -0700 +++ b/go/expressions.cc Fri Sep 21 23:21:06 2012 -0700 @@ -5453,7 +5453,8 @@ && (this->left_->type()->integer_type() == NULL || (subcontext.type->integer_type() == NULL && subcontext.type->float_type() == NULL - && subcontext.type->complex_type() == NULL))) + && subcontext.type->complex_type() == NULL + && subcontext.type->interface_type() == NULL))) this->report_error(("invalid context-determined non-integer type " "for shift operand"));