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

related #22534; fixes documentation rendering of custom number literal routine declaration #23015

Merged
merged 1 commit into from
Dec 1, 2023
Merged

related #22534; fixes documentation rendering of custom number literal routine declaration #23015

merged 1 commit into from
Dec 1, 2023

Conversation

Erich-Reitz
Copy link
Contributor

I'm not sure if this is a complete fix, as it does not match the expected output given in the issue. The expected output given in the issue highlights the identifier after the ' the same color as numeric literals (blue), and this change does not address that. I think that would involve simplifying nimNumberPostfix.

However, this fixes the issue where the routine declaration was rendered as a string.
New rendering:
Screenshot from 2023-11-30 22-17-17

@Erich-Reitz Erich-Reitz changed the title related #22534; fixes rendering of custom number literal routine declaration document gen related #22534; fixes documentation rendering of custom number literal routine declaration Dec 1, 2023
@Erich-Reitz Erich-Reitz marked this pull request as ready for review December 1, 2023 05:36
@Araq Araq merged commit 5dfa134 into nim-lang:devel Dec 1, 2023
19 checks passed
Copy link
Contributor

github-actions bot commented Dec 1, 2023

Thanks for your hard work on this PR!
The lines below are statistics of the Nim compiler built from 5dfa134

Hint: mm: orc; opt: speed; options: -d:release
177278 lines; 7.427s; 766.789MiB peakmem

@Erich-Reitz Erich-Reitz deleted the fix-number-literal-doc-rendering branch January 15, 2024 16:32
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