-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issueHas ReproThis issue has compiler-backed repros: https://aka.ms/ts-reprosThis issue has compiler-backed repros: https://aka.ms/ts-repros
Milestone
Description
VS Code Version:
- Version: 1.66.2 (user setup)
- Version: 1.67.0-insider (user setup)
OS:
- Windows_NT x64 10.0.22000
Steps to Reproduce:
- Open this code
class GLTexture {
constructor({
gl,
width,
height,
target = gl.TEXTURE_2D,
internalFormat = gl.RGBA8 || gl.RGBA,
format = gl.RGBA,
type = gl.UNSIGNED_BYTE,
autoGenerateMipmap = false,
minFilter = autoGenerateMipmap ? gl.LINEAR_MIPMAP_LINEAR : gl.LINEAR,
magFilter = gl.LINEAR,
wrapS = gl.REPEAT,
wrapT = gl.REPEAT,
}) {
}
}
- See that after switching tabs or hovering on a property that IntelliSense isn't working and
Loading IntelliSense Status
in status bar starts spinning forever
I tried to isolate the issue that seems to be related to operators in constructor, but not always. Sometimes, it appears by commenting/uncommenting other lines.
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issueHas ReproThis issue has compiler-backed repros: https://aka.ms/ts-reprosThis issue has compiler-backed repros: https://aka.ms/ts-repros