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
It's seeing yd as a bool it should be int. The type doesn't matter it'll always been seen as bool.
yd
bool
int
Foo :: struct{d: []int} x,y := Foo{d=[]int{1,2,3}}, Foo{d=[]int{1,2,3}} for _, i in x.d { xd, yd := x.d[i], y.d[i] fmt.println(xd, yd) }
OLS: VS Code v0.1.26 IDE: VSCodium OS: Windows
The text was updated successfully, but these errors were encountered:
Forgot to add. It will see td as int if you explicitly use the type.
td
Foo :: struct{d: []int} x, y := Foo{d=[]int{1,2,3}}, Foo{d=[]int{1,2,3}} for _, i in x.d { xd, yd: int = x.d[i], y.d[i] fmt.println(xd, yd) }
Sorry, something went wrong.
954c876
No branches or pull requests
It's seeing
yd
as abool
it should beint
. The type doesn't matter it'll always been seen asbool
.OLS: VS Code v0.1.26
IDE: VSCodium
OS: Windows
The text was updated successfully, but these errors were encountered: