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
...an attempt to use auto-import to resolve the reference to A in b.ts will insert:
import{A}from'.';
...instead of the preferred (and the one provided by previous versions of VS Code):
import{A}from'./a';
I have done an Extension Bisect operation and the issue continued to occur with no extensions running.
A picture of it:
Why is this a problem?
When outputting CommonJS, the circular dependency can cause the exported symbols to be undefined. When emitting decorator metadata, barrel imports can cause failures due to this.
VS Code version: Code 1.62.2 (3a6960b964327f0e3882ce18fcebd07ed191b316, 2021-11-11T20:56:38.428Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (8 x 3408)
Issue Type: Bug
Given a folder with:
...an attempt to use auto-import to resolve the reference to
A
inb.ts
will insert:...instead of the preferred (and the one provided by previous versions of VS Code):
A picture of it:

Why is this a problem?
VS Code version: Code 1.62.2 (3a6960b964327f0e3882ce18fcebd07ed191b316, 2021-11-11T20:56:38.428Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (27)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: