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
Create a new file, and copy-paste the following code:
/**
* @namespace Foo
*/
var Foo;
/**
* @type {number[]}
*/
var Working;
/**
* @function Bar
*/
var Bar;
/**
* @class Bar2
*/
var Bar2;
Now under that code in the file, try typing out the names of the variables. Intellisense will note the tags, but still classify the variables as undefined. That is, except for the var named "Working"; Intellisense sees that as the specified type, despite the actual value being undefined like the rest.
VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:27:14.102Z)
OS version: Windows_NT x64 10.0.17134
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)
Issue Type: Bug
Create a new file, and copy-paste the following code:
Now under that code in the file, try typing out the names of the variables. Intellisense will note the tags, but still classify the variables as undefined. That is, except for the var named "Working"; Intellisense sees that as the specified type, despite the actual value being undefined like the rest.
VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:27:14.102Z)
OS version: Windows_NT x64 10.0.17134
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Extensions (16)
The text was updated successfully, but these errors were encountered: