You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When looping over an array of structs, setting any value of the local scoped struct will incorrectly be flagged as not being declared with a var statement
A workaround would be to add a new variable that we work with instead:
But this just adds complexity and possibly introduces potential bugs further down the line.
The text was updated successfully, but these errors were encountered:
When looping over an array of structs, setting any value of the local scoped struct will incorrectly be flagged as not being declared with a var statement
A workaround would be to add a new variable that we work with instead:
But this just adds complexity and possibly introduces potential bugs further down the line.
The text was updated successfully, but these errors were encountered: