Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline docstring is confused if there is a comment #813

Open
tristanlatr opened this issue Aug 28, 2024 · 0 comments · May be fixed by #815
Open

Inline docstring is confused if there is a comment #813

tristanlatr opened this issue Aug 28, 2024 · 0 comments · May be fixed by #815
Labels

Comments

@tristanlatr
Copy link
Contributor

tristanlatr commented Aug 28, 2024

class Type(_BaseType):
    args: Sequence['Type']

    # location: NodeLocation
    """
    docs
    """

"docs" will be misinterpreted to be the docstring of Type.args.
This will be an easy fix once we have #804 merged.

tristanlatr added a commit that referenced this issue Sep 22, 2024
@tristanlatr tristanlatr linked a pull request Sep 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant