tools/go/analysis/passes/asmdecl
Alan Donovan 19100bfbe9 go/analysis/passes/asmdecl: fix nil deref panic
Due to a bug in go/types, a function f(...T) has no type
recorded for the parameter type expression ...T, and apparently
this has never occcured in a file checked by asmdecl before.

The addParams function should really be simplified to use types.Signature.

Updates golang/go#28277

Change-Id: I5b73535a7739b6771ffef1c0a7568f5161d564d5
Reviewed-on: https://go-review.googlesource.com/c/143298
Reviewed-by: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2018-10-19 16:56:31 +00:00
..
testdata/src/a go/analysis/passes/asmdecl: fix nil deref panic 2018-10-19 16:56:31 +00:00
asmdecl.go go/analysis/passes/asmdecl: fix nil deref panic 2018-10-19 16:56:31 +00:00
asmdecl_test.go go/analysis/passes: add doc and copyright comments 2018-10-16 20:28:15 +00:00