Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

未能成功构造范例的错误信息们 #14

Open
minux opened this issue Dec 30, 2014 · 4 comments
Open

未能成功构造范例的错误信息们 #14

minux opened this issue Dec 30, 2014 · 4 comments

Comments

@minux
Copy link
Member

minux commented Dec 30, 2014

070行:object is not a method
074行:method type does not match object type
201行:invalid use of %<...%> with non-slice
205行:incompatible type for receiver
244行:expected interface or pointer to interface
@minux
Copy link
Member Author

minux commented Dec 30, 2014

我现在觉得前俩个是 defensive programming ……
后几个可能是还没想明白……

@OlingCat
Copy link
Member

这几个我也没啥头绪。官方test里没有类似的错误么?

@minux
Copy link
Member Author

minux commented Dec 30, 2014

主要是不好查,因为 errorcheck tests 使用的是正则表达式……

@OlingCat
Copy link
Member

我们能不能假定官方的测试里包括了所有可能出现的错误,然后用gccgo把所有测试编译一遍,再在输出里查找这几个错误和对应的测试代码?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants