summary refs log tree commit diff stats
path: root/tests/cpp/tcppraise.nim
diff options
context:
space:
mode:
authorc-blake <c-blake@users.noreply.github.com>2024-09-04 05:01:55 -0400
committerGitHub <noreply@github.com>2024-09-04 17:01:55 +0800
commit6908fb4011945d746b80b4da9975e065fd32989e (patch)
tree14793b298e3bc73e73c2c077ea63d717411e5ad3 /tests/cpp/tcppraise.nim
parent080b0a03bd724ea50c5b90553c0aedc47be56a5e (diff)
downloadNim-6908fb4011945d746b80b4da9975e065fd32989e.tar.gz
Make `$` on 0-length `MemSlice` produce Nim "" as per DMisener idea (#24015)
in https://forum.nim-lang.org/t/12463 which seems reasonable enough to
me.

stdlib has several dozens of places doing result.setLen now, but if
`experimental:strictDefs` move sot on by default and there is no easy
way to locally suppress the warning we can revisit this.
Diffstat (limited to 'tests/cpp/tcppraise.nim')
0 files changed, 0 insertions, 0 deletions
vision' href='/akkartik/mu/blame/subx/run_one_test.sh?h=main&id=d818fdd7e52616adf293061ccbb42517d0e6f98f'>^
edac54a3 ^
749d455a ^
eada7e30 ^
edac54a3 ^


5ac07866 ^
01b6cfe4 ^
ab107e18 ^
0bcfe6e5 ^
9e5e87ca ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23