]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: reject unknown //go: comments in std library
authorKeith Randall <khr@golang.org>
Tue, 6 Jun 2017 20:23:59 +0000 (13:23 -0700)
committerKeith Randall <khr@golang.org>
Tue, 6 Jun 2017 22:28:17 +0000 (22:28 +0000)
commita836254d08181418757b0d5c159acd3f9488fb91
treeb1d0422978f17ecab1bc13aa763cb114de80188f
parent84530b4fe262757cb6f788626d3e44fc1016b5e1
cmd/compile: reject unknown //go: comments in std library

Fixes #18331

Change-Id: Ie5c6685be3002533b84604ff1f13f2f0850f29e2
Reviewed-on: https://go-review.googlesource.com/45010
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/gc/go.go
src/cmd/compile/internal/gc/main.go
src/cmd/compile/internal/gc/noder.go
src/cmd/go/internal/work/build.go
src/go/types/stdlib_test.go
test/fixedbugs/issue18331.go [new file with mode: 0644]