Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

加入package name做本地测试直接提交会报错。建议增加提交时自动去除package name功能 #196

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

Closed
liulanghai opened this issue Mar 9, 2019 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@liulanghai
Copy link

Before you submit an question we recommend you to check out the DOCUMENT and TROUBLESHOOTING PAGE first.

💬 Questions and Help

Please outline the questions.

@zombie110year
Copy link

建议贴出你解题使用的语言与测试工具, 不然的话不知道 "package name 报错" 是什么意思,
以及它需要满足什么要求.

@liulanghai
Copy link
Author

show problem 之后生成了.go文件,这个go文件缺少package名称 ,完成了算法函数的填充,此时是无法再本地做单测的,手动加上package leetcode, 此时可以本地go test 做单测,但是此时直接右键提交报错。

@Vigilans
Copy link
Contributor

Vigilans commented Mar 11, 2019

A better solution would be to automatically pre-include these packages, provide intellisense and make it possible to use local debugger.
I am currently working on this.

@jdneo jdneo added the bug Something isn't working label Sep 30, 2019
@jdneo jdneo added this to the 0.15.6 milestone Sep 30, 2019
@jdneo
Copy link
Member

jdneo commented Sep 30, 2019

Same as #418. This should be addressed in 0.15.5.

Please have a try and let us know if the problem has been solved.

Thanks

@jdneo jdneo closed this as completed Sep 30, 2019
@jdneo jdneo modified the milestones: 0.15.6, 0.15.5 Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants