aboutsummaryrefslogtreecommitdiff
path: root/test/codegen/mathbits.go
diff options
context:
space:
mode:
authorisharipo <iskander.sharipov@intel.com>2018-03-23 21:56:21 +0300
committerJosh Bleecher Snyder <josharian@gmail.com>2018-03-24 02:18:52 +0000
commit3afd2d7fc87615e124b77692e87095bdba79e557 (patch)
tree830a5038b9ae1dd7b30dc1a43cbacd1b32876f01 /test/codegen/mathbits.go
parentea668e18a6ee48c46fb585265086a908ef7768a1 (diff)
downloadgo-3afd2d7fc87615e124b77692e87095bdba79e557.tar.xz
cmd/compile/internal/gc: properly initialize ssa.Func Type field
The ssa.Func has Type field that is described as function signature type. It never gets any value and remains nil. This leads to "<T>" signature printed representation. Given this function declaration: func foo(x int, f func() string) (int, error) GOSSAFUNC printed it as below: compiling foo foo <T> After this change: compiling foo foo func(int, func() string) (int, error) Change-Id: Iec5eec8aac5c76ff184659e30f41b2f5fe86d329 Reviewed-on: https://go-review.googlesource.com/102375 Run-TryBot: Iskander Sharipov <iskander.sharipov@intel.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Diffstat (limited to 'test/codegen/mathbits.go')
0 files changed, 0 insertions, 0 deletions