Commit 5eeb039f by Ian Lance Taylor

compiler: fix quoting in error message

    
    Reviewed-on: https://go-review.googlesource.com/23966

From-SVN: r237286
parent 9b805400
a87af72757d9a2e4479062a459a41d4540398005
054ff1ece3dd5888a445efeaf3ae197b16d4186f
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
......@@ -11463,7 +11463,7 @@ Selector_expression::lower_method_expression(Gogo* gogo)
if (method != NULL && !is_pointer && !method->is_value_method())
{
error_at(location, "method requires pointer (use %<(*%s).%s)%>",
error_at(location, "method requires pointer (use %<(*%s).%s%>)",
nt->message_name().c_str(),
Gogo::message_name(name).c_str());
return Expression::make_error(location);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment