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 4a9853ab68c783460421dcbfaba69b13649d800c..64844411c8c01d705c6733ca021b9c2990bfe3ae 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 48e0065ba19aede877b3b35c4ee919203297e771..94066cab8c391b89b294d1636c62b6264dfe4dde 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)