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
VS Code will mark the functions foo and bar as unused:
Making apparently random code changes can partially resolve the situation or make it worse again.
Commenting out the require statement will result in both functions being detected as being used. Reverting the change also marks the functions as unused again.
Sometimes only bar is considered unused.
VS Code version: Code 1.49.3 (2af0510, 2020-10-02T17:57:01.595Z)
OS version: Windows_NT x64 10.0.19041
Remote OS version: Linux x64 4.19.128-microsoft-standard
Remote OS version: Linux x64 4.19.128-microsoft-standard
Remote OS version: Linux x64 4.19.128-microsoft-standard
Remote OS version: Linux x64 4.19.128-microsoft-standard
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-6850K CPU @ 3.60GHz (12 x 3598)
Issue Type: Bug
Given this code:
VS Code will mark the functions
foo
andbar
as unused:Making apparently random code changes can partially resolve the situation or make it worse again.
Commenting out the
require
statement will result in both functions being detected as being used. Reverting the change also marks the functions as unused again.Sometimes only
bar
is considered unused.VS Code version: Code 1.49.3 (2af0510, 2020-10-02T17:57:01.595Z)
OS version: Windows_NT x64 10.0.19041
Remote OS version: Linux x64 4.19.128-microsoft-standard
Remote OS version: Linux x64 4.19.128-microsoft-standard
Remote OS version: Linux x64 4.19.128-microsoft-standard
Remote OS version: Linux x64 4.19.128-microsoft-standard
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (27)
(1 theme extensions excluded)
The text was updated successfully, but these errors were encountered: