• isharipo's avatar
    cmd/compile/internal/gc: properly initialize ssa.Func Type field · 3afd2d7f
    isharipo authored
    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: 's avatarJosh Bleecher Snyder <josharian@gmail.com>
    3afd2d7f
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
buildid Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
test2json Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...