compiler: add a newline to function receiver type's debug dump
Change-Id: If54053b2396c5f6cfe11a3cec6d861c7840c07a2
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/168408
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
diff --git a/go/ast-dump.cc b/go/ast-dump.cc
index 48e0065..94066ca 100644
--- a/go/ast-dump.cc
+++ b/go/ast-dump.cc
@@ -766,7 +766,7 @@
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)