]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: don't bother to declare closure inside redeclared func
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Fri, 14 Aug 2020 17:44:58 +0000 (00:44 +0700)
committerCuong Manh Le <cuong.manhle.vn@gmail.com>
Wed, 19 Aug 2020 02:25:13 +0000 (02:25 +0000)
commitac875bc923db2b7350f244f06a06557e6fd97e05
tree39134eac5fd74b833b2e919b09d2cb2bad44e1cb
parent98a0071a5363e307c2e284034f810378de3883dd
cmd/compile: don't bother to declare closure inside redeclared func

Fixes #17758

Change-Id: I75f5dc5be85fd8a6791ac89dfc0681be759cca36
Reviewed-on: https://go-review.googlesource.com/c/go/+/248517
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/closure.go
test/fixedbugs/issue17758.go [new file with mode: 0644]