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 variable with an operator that is sensitive to the distributive law. For example this code in Javascript/Dart: var foo = 3 - 2;.
Reference the first variable using a distributive operator. Example var bar = 4 - foo;
Select foo and inline variable.
Actual Result: var bar = 4 - 3 - 2;
Expected Result: var bar = 4 - (3 - 2);
Note: I've worded this more generally than just Inline variable breaks for distributing - in case there are other cases that break. The Inline variable refactor works correctly for *.
VS Code version: Code 1.88.1 (e170252f762678dec6ca2cc69aba1570769a5d39, 2024-04-10T17:34:12.840Z)
OS version: Linux x64 6.5.0-27-generic snap
Modes:
Type: Bug
var foo = 3 - 2;
.var bar = 4 - foo;
inline variable
.var bar = 4 - 3 - 2;
var bar = 4 - (3 - 2);
Note: I've worded this more generally than just Inline variable breaks for distributing
-
in case there are other cases that break. The Inline variable refactor works correctly for*
.VS Code version: Code 1.88.1 (e170252f762678dec6ca2cc69aba1570769a5d39, 2024-04-10T17:34:12.840Z)
OS version: Linux x64 6.5.0-27-generic snap
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Extensions (23)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: