summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorErich Reitz <erichreitz12@gmail.com>2023-12-01 00:21:42 -0600
committerGitHub <noreply@github.com>2023-12-01 07:21:42 +0100
commit5dfa1345fa2c046a42730a6357b12245e5ee3f06 (patch)
tree43db024ed5c69ec6cc7088f5b4ed37beaf61a962 /tests
parentab7faa73ef879548be2eaa462eb95c4c8ffd6ef2 (diff)
downloadNim-5dfa1345fa2c046a42730a6357b12245e5ee3f06.tar.gz
related #22534; fixes documentation rendering of custom number literal routine declaration (#23015)
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](https://github.com/nim-lang/Nim/assets/80008541/b604ce27-a4ad-496b-82c3-0b568d99a8bf)
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions