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
The ability to define a type alias using type Alias = tuple[int, int] was added in Python 3.12 so presumably Pylance needs to be updated to account for this new syntax.
Expected behavior
The type alias be syntax highlighted, not white, which is what you see when Pylance isn't working.
Actual behavior
The type alias be highlighted.
The text was updated successfully, but these errors were encountered:
Environment data
Version: 1.96.2 (user setup)
Commit: fabdb6a30b49f79a7aba0f2ad9df9b399473380f
Date: 2024-12-19T10:22:47.216Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.22631
Pylance: 2024.12.1
Python: 3.12.5
Code Snippet
The ability to define a type alias using
type Alias = tuple[int, int]
was added in Python 3.12 so presumably Pylance needs to be updated to account for this new syntax.Expected behavior
The type alias be syntax highlighted, not white, which is what you see when Pylance isn't working.
Actual behavior
The type alias be highlighted.
The text was updated successfully, but these errors were encountered: