We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
go version
$ go version 1.17.3
Yes
go env
Ubuntu 20.04 LTS
$ go env
Following the "Return greetings for multiple users" tutorial
In the hello.go example code, lines: messages, err := greetings.Hellos(names) and fmt.Println(messages)
Should also be marked as they refer to the newly created slice, otherwise VSCode detects errors
The lines referred to above we're not marked as changes
Apologies if this is so simple that it shouldn't be here, but it was the only way I found to point it out
The text was updated successfully, but these errors were encountered:
Duplicate of #46416
Sorry, something went wrong.
No branches or pull requests
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
)?Ubuntu 20.04 LTS
go env
OutputWhat did you do?
Following the "Return greetings for multiple users" tutorial
What did you expect to see?
In the hello.go example code, lines:
messages, err := greetings.Hellos(names)
and
fmt.Println(messages)
Should also be marked as they refer to the newly created slice, otherwise VSCode detects errors
What did you see instead?
The lines referred to above we're not marked as changes
Apologies if this is so simple that it shouldn't be here, but it was the only way I found to point it out
![Screenshot from 2021-11-21 21-07-50](https://user-images.githubusercontent.com/42047435/142784596-b2d4dafd-95d3-4873-911e-9fb77edce74b.png)
The text was updated successfully, but these errors were encountered: