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

Fix truncated NatSpec for avg function #213

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Conversation

ericglau
Copy link
Contributor

The NatSpec for the avg function is missing the @notice part because one of the lines is // instead of ///. This causes the function's documentation to only start from In English, ...

For example, the AST currently has the following:

        "documentation": {
          "id": 26595,
          "nodeType": "StructuredDocumentation",
          "src": "779:614:40",
          "text": "In English, ..."
        },

@PaulRBerg
Copy link
Owner

Thanks, Eric.

@PaulRBerg PaulRBerg merged commit 844cec9 into PaulRBerg:main Nov 28, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants