aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2016-06-06 10:56:42 -0700
committerKeith Randall <khr@golang.org>2016-06-07 06:04:23 +0000
commit2f088884aeab7f34ca69c0b8ab21c9694c628e19 (patch)
treeba4b23069e94f220561da6255ae2999935b42c7e /src/runtime/debug
parent27c5dcffef590ac9dbc31f3d513f1b7d058907f6 (diff)
downloadgo-2f088884aeab7f34ca69c0b8ab21c9694c628e19.tar.xz
cmd/compile: use fake package for allocating autos
Make sure auto names don't conflict with function names. Before this CL, we confused name a.len (the len field of the slice a) with a.len (the function len declared on a). Fixes #15961 Change-Id: I14913de697b521fb35db9a1b10ba201f25d552bb Reviewed-on: https://go-review.googlesource.com/23789 Run-TryBot: Keith Randall <khr@golang.org> Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/debug')
0 files changed, 0 insertions, 0 deletions