commit | d6eb8982f6e4ae9e753fa0b0217fea12c94f7e8e | [log] [tgz] |
---|---|---|
author | Alan Donovan <adonovan@google.com> | Tue Jan 07 13:31:05 2014 -0500 |
committer | Alan Donovan <adonovan@google.com> | Tue Jan 07 13:31:05 2014 -0500 |
tree | 4798c0abc53c5103f0d795431e6e685c6270aefe | |
parent | b6eef48120953c8b90400974e90255c64dace0f2 [diff] |
go.tools/ssa: two fixes to CallCommon. (*CallCommon).Signature() now returns non-nil even for built-ins. Builtins are now created with specialized types for each use. Added sanity-check. CallCommon.HasEllipsis field eliminated. It was an incorrect memoization of Signature().IsVariadic() used only for printing. Also: introduce and use newTypeVar utility. R=gri CC=golang-codereviews https://golang.org/cl/46880044