basedpyright
basedpyright copied to clipboard
hover docs don't show for union values
Description
class C:
def f(self) -> int:
"""among"""
...
class D:
def f(self) -> str:
"""asdf"""
...
def f(x: C | D):
x.f
I guess it should show both docstrings with some sort of indication that it's a union of both of them