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
{{ message }}
This repository was archived by the owner on Oct 3, 2024. It is now read-only.
(I didn't test this but I assume this is the minimal case)
consta={foo: false};constb={foo: false};constxs=[a,b];for(leti=0;i<2;++i){xs[i].foo=true;}// I assume `xs[0].foo = true` would also trigger this issue even without the loop
Basically, xs is only being used as a list of pointers to items that will get modified.
Expected behavior
no-unused-collection should not fire here as the collection is being used.