compiler: add a newline to function receiver type's debug dump
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 21 Mar 2019 16:22:56 +0000 (16:22 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 21 Mar 2019 16:22:56 +0000 (16:22 +0000)
    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/168408

From-SVN: r269841

gcc/go/gofrontend/MERGE
gcc/go/gofrontend/ast-dump.cc

index 4a9853a..6484441 100644 (file)
@@ -1,4 +1,4 @@
-6e5ff227d4e77d340e86bd2c5e045d5532c2d7d7
+392e9b3da473070f24dbe6c12c282a0e06e73b54
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
index 48e0065..94066ca 100644 (file)
@@ -766,7 +766,7 @@ void Type_dumper::visit_function_type(const Function_type* ft)
   if (rec != NULL)
     {
       this->emitpre(notag, NULL);
-      this->typeref("receiver ", rec->type(), NULL);
+      this->typeref("receiver ", rec->type(), "\n");
     }
   const Typed_identifier_list* parameters = ft->parameters();
   if (parameters != NULL)