Skip to content

Hover is broken for types that don't have a doc comment #1996

@srivatsn

Description

@srivatsn

Environment data

This is using the latest sources from master

Steps to reproduce

Hover over a normal type in source that doesn't have a doc comment

Expected behavior

Should show a hover tip with the name of the type

Actual behavior

Shows nothing.

Looks like there's a missing null check for the structured doc comment.

/cc @rchande

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions