Commit cae1a424 by Ian Lance Taylor

compiler: add a newline to function receiver type's debug dump

    
    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/168408

From-SVN: r269841
parent 6d1a7fd4
6e5ff227d4e77d340e86bd2c5e045d5532c2d7d7 392e9b3da473070f24dbe6c12c282a0e06e73b54
The first line of this file holds the git revision number of the last The first line of this file holds the git revision number of the last
merge done from the gofrontend repository. merge done from the gofrontend repository.
...@@ -766,7 +766,7 @@ void Type_dumper::visit_function_type(const Function_type* ft) ...@@ -766,7 +766,7 @@ void Type_dumper::visit_function_type(const Function_type* ft)
if (rec != NULL) if (rec != NULL)
{ {
this->emitpre(notag, NULL); this->emitpre(notag, NULL);
this->typeref("receiver ", rec->type(), NULL); this->typeref("receiver ", rec->type(), "\n");
} }
const Typed_identifier_list* parameters = ft->parameters(); const Typed_identifier_list* parameters = ft->parameters();
if (parameters != NULL) if (parameters != NULL)
......
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