Closed knight42 closed 3 years ago
/lgtm /cherrypick release-0.3
@iawia002: once the present PR merges, I will cherry-pick it on top of release-0.3 in a new PR and assign it to you.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: iawia002
The full list of commands accepted by this bot can be found here.
The pull request process is described here
@iawia002: new pull request created: #415
What this PR does / why we need it:
目前如果 parameters 的个数比函数的参数个数多,或者 results 的个数比函数的返回值的个数多的话,那么在执行
nirvana api
或nirvana client
的时候 nirvana 就会 panic:这个 PR 通过先校验两边的个数是否相等来避免 panic,同时输出一个比较用户友好的错误信息。
Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes #
Reference to #
Special notes for your reviewer:
/cc @iawia002
Release note: