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 Sep 9, 2025. It is now read-only.
In the JavaScript stack graphs, name resolution inside a switch statement breaks when multiple case labels precede a single consequent. The scope/flow modeling appears to keep the first branch “open” across subsequent cases, causing references in later cases to lose access to outer-scope bindings. Splitting the cases so that each label has its own block makes the problem disappear.
Failing example (multiple case labels share one branch)
functionprint(string){console.log(string);}switch(type){case"Int8Array":
case"BigUint64Array": {console.log("Int Array");}case"ArrayBuffer": {print(base64);// not resolving}}
Observed result from navigation/definitions:
| print(base64);
| ^^^^
has no definitions