diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2022-11-24 14:49:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-24 07:49:23 +0100 |
commit | 27a38a9fce16b053dc57175716778657ce233bec (patch) | |
tree | d41253fd48d29025f38f9a1dc6f2343d4f418390 /tests/tools | |
parent | ef2998778138fd0b9a102a1c48c1eacd98361105 (diff) | |
download | Nim-27a38a9fce16b053dc57175716778657ce233bec.tar.gz |
fix #13790; ptr char (+friends) should not implicitly convert to cstring (#20761)
* fix =#13790 ptr char (+friends) should not implicitly convert to cstring * Apply suggestions from code review * first round; compiles on windows * nimPreviewSlimSystem * conversion is unsafe, cast needed * fixes more tests * fixes asyncnet * another try another error * last one * true * one more * why bugs didn't show at once * add `nimPreviewCstringConversion` switch * typo Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
Diffstat (limited to 'tests/tools')
-rw-r--r-- | tests/tools/config.nims | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tools/config.nims b/tests/tools/config.nims index 20eb34633..b4bb92b30 100644 --- a/tests/tools/config.nims +++ b/tests/tools/config.nims @@ -1 +1,2 @@ ---d:nimPreviewSlimSystem \ No newline at end of file +--d:nimPreviewSlimSystem +--d:nimPreviewCstringConversion \ No newline at end of file |