]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: rename retsigerr to sigerr
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Thu, 17 Sep 2020 00:46:01 +0000 (07:46 +0700)
committerCuong Manh Le <cuong.manhle.vn@gmail.com>
Fri, 18 Sep 2020 07:54:34 +0000 (07:54 +0000)
commit4ffc2bc533ed39b3cbb343ad5873105bfd58ff10
treecd598a5440ea27d1228a3b68cb083b00d6177218
parentddd35f8d71120b0d0508dd0d8f3a727ba681dfb3
cmd/compile: rename retsigerr to sigerr

retsigerr was used to create error message for both wrong function
arguments and return arguments, so change its name to sigerr to reflect
that.

While at it, also add documentation for the wrong function arguments
case.

Passes toolstash-check.

Change-Id: I740c717ad38d4afab9e8c20f2e94579c8bca67ff
Reviewed-on: https://go-review.googlesource.com/c/go/+/255240
Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/typecheck.go