Message ID | mcrwrm1a1eh.fsf@google.com |
---|---|
State | New |
Headers | show |
diff -r 2691f158a34c go/types.cc --- a/go/types.cc Tue Jan 18 21:37:53 2011 -0800 +++ b/go/types.cc Tue Jan 18 21:48:10 2011 -0800 @@ -4883,7 +4883,7 @@ ++p; gcc_assert(p->field_name() == "len"); - vals->push_back(this->length_); + vals->push_back(Expression::make_cast(p->type(), this->length_, bloc)); ++p; gcc_assert(p == fields->end());