Skip to content

Incorrect null check after await #126854

@rebornix

Description

@rebornix

After await call, the _editorModelReference is possible to be null and the type should still be IReference<IResolvedNotebookEditorModel> | null other than never.

image

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugtypescriptTypescript support issuesupstream-issue-linkedThis is an upstream issue that has been reported upstream

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions