mirror of
https://github.com/golang/go
synced 2024-11-19 01:24:39 -07:00
07655f7ec7
Return an error when attempting to rename a builtin identifier. Fixes golang/go#32992 Change-Id: I7fb0f9cc9499e5afdfb14805c49c820e4da3b601 Reviewed-on: https://go-review.googlesource.com/c/tools/+/185246 Run-TryBot: Suzy Mueller <suzmue@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
4 lines
46 B
Go
4 lines
46 B
Go
package b
|
|
|
|
var c int //@rename("int", "uint")
|