-
Notifications
You must be signed in to change notification settings - Fork 18k
x/tools/gopls: not understanding package_test #32906
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
Comments
FYI, this is doubly annoying because it prevents any other interpretation of the file. So, unless I rename this |
What version of |
Not sure:
So, I blew that binary away, reset everything I could in vscode, and performed:
Now it seems to accept |
Whoops, spoke too soon. Now I get an error at the first character of the file with the following:
edit: Once again, changing edit2:
|
Same problem here with VSCode
|
Can you try reproducing this on master ( |
Hi, Still the same problem.
|
I have been doing some more testing. If I have a package and have, for example
Work well, but If I have the same and is using cgo, Then I have the problem
Sorry didn't realize sooner, working on a cgo project for the last couple of weeks |
Seems to work on master for me. |
@ogimenezb: Your issue sounds more like #31561. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Using vscode with [email protected] plugin. Have package
bigtable
, create a new fileconformance_test.go
withpackage bigtable_test
declaration.What did you expect to see?
No problems in editor.
What did you see instead?
Red squiggly under
package
with text:The text was updated successfully, but these errors were encountered: