Until now v-analyzer doesn't support script mode properly (when statements are not wrapped in a function).
The inital report was not fully true. I'm encountering cases where analyzer does work with top level statements in script mode. Idk yet if it's related to running multiple v-analyzer instances or in certain directory structures. Gonna update to a proper reproduction if I get the chance to isolate the problem.
Describe the bug
Until now v-analyzer doesn't support script mode properly (when statements are not wrapped in a function).The inital report was not fully true. I'm encountering cases where analyzer does work with top level statements in script mode. Idk yet if it's related to running multiple v-analyzer instances or in certain directory structures. Gonna update to a proper reproduction if I get the chance to isolate the problem.Expected Behavior
Should work in script mode.
Current Behavior
bad top level statement […]
errorsReproduction Steps
Possible Solution
No response
Additional Information/Context
Environment details (
v doctor
output)-
Editor name
any
v-analyzer Version
up to v0.0.4.nightly
VS Code Extension Version
No response