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
Python version (and distribution if applicable, e.g. Anaconda):
python.analysis.indexing: true
python.analysis.typeCheckingMode: basic
Code Snippet
defadd(a: int|float, b: int|float=0) ->int|float:
"""Add two numbers together Args: a (int | float): The first number b (int | float, optional): The second number. Defaults to 0. Returns: int | float: The sum of the two numbers Raises: TypeError: A parameter is not type int ValueError: foo """returna+badd(1, 2)
Repro Steps
Open a python file using vscode
Install basic python support extensions: PylancePythonPython Debugger
Define a function with Google style docstring just like the code snippets above, and then invoke it
Hover on the function call to see the popup
Expected behavior
**Returns****out**_int | float_: The sum of the two numbers
Environment data
Code Snippet
Repro Steps
Pylance
Python
Python Debugger
Expected behavior
Actual behavior
Logs
Addtional Info
Seems to be related to #6127 , but slightly different. The bugs in #6127 were fixed, but there are new ones here.The text was updated successfully, but these errors were encountered: