]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix ExampleInfo output
authorAmelia Downs <adowns@vmware.com>
Mon, 20 Sep 2021 17:04:49 +0000 (13:04 -0400)
committerRobert Griesemer <gri@golang.org>
Mon, 20 Sep 2021 21:40:06 +0000 (21:40 +0000)
commitb0fa2f5b09acfa5604e78cafc2183f3e1eac061b
tree3a1937f888ffde812f9ed231989af956d8d0ecdf
parentaf72ddfcd7826df9aefb2207b8ac270bb91fea2f
cmd/compile: fix ExampleInfo output

Move the "TODO" to outside of the function so that the "Output" comment
block is the last comment block. Output is only checked when it is the
last comment block. See golang/go#48362 for this issue.

Fixes: golang/go#48494
Change-Id: I7a31d7c13710e58fa876c96240a927a9bb8273ad
Reviewed-on: https://go-review.googlesource.com/c/go/+/350995
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
Trust: David Chase <drchase@google.com>
src/cmd/compile/internal/types2/example_test.go