]> Cypherpunks repositories - gostls13.git/commitdiff
go/types: escape +build sequence to silence vet warning
authorMatthew Dempsky <mdempsky@google.com>
Thu, 31 Aug 2017 20:35:56 +0000 (13:35 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 31 Aug 2017 20:59:09 +0000 (20:59 +0000)
Appease the vet builder until we figure out the ideal solution.

Updates #21716.

Change-Id: I64ecdf9b6efb0933c5c79e11c860966ff1980305
Reviewed-on: https://go-review.googlesource.com/60776
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/go/types/hilbert_test.go

index 41d1a2a7dc6ad5cdceda826652decaeb8ab403f7..9783ce6dc97217677cae72e3391d326b20ca4061 100644 (file)
@@ -52,7 +52,7 @@ func program(n int, out string) []byte {
 
        g.p(`// Code generated by: go test -run=Hilbert -H=%d -out=%q. DO NOT EDIT.
 
-// +build ignore
+// +`+`build ignore
 
 // This program tests arbitrary precision constant arithmetic
 // by generating the constant elements of a Hilbert matrix H,