]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: allow VARDEF at top level
authorKeith Randall <khr@golang.org>
Sat, 6 Oct 2018 15:56:03 +0000 (08:56 -0700)
committerKeith Randall <khr@golang.org>
Sat, 6 Oct 2018 16:28:04 +0000 (16:28 +0000)
commit6933d76a7eec7a197c3416ea9f15b508ac931477
tree9fe985bf62ea8b5ae8d0b72e862330040e22fb4d
parentf90e89e675443731e36c2de4bcd3cdd7316d3dfc
cmd/compile: allow VARDEF at top level

This was missed as part of adding a top-level VARDEF
for stack tracing (CL 134156).

Fixes #28055

Change-Id: Id14748dfccb119197d788867d2ec6a3b3c9835cf
Reviewed-on: https://go-review.googlesource.com/c/140304
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com>
src/cmd/compile/internal/gc/walk.go
test/fixedbugs/issue28055.go [new file with mode: 0644]