summary refs log tree commit diff stats
path: root/tests/async
diff options
context:
space:
mode:
authoree7 <45465154+ee7@users.noreply.github.com>2020-12-02 20:48:16 +0100
committerGitHub <noreply@github.com>2020-12-02 20:48:16 +0100
commit629b22e3d50e9903512ec893174eb797d9ed431b (patch)
tree1575efac631f889f637d3c2eaadd4a54386b6cc5 /tests/async
parent139075e96565f4b7436e8d2368f85f11852aa668 (diff)
downloadNim-629b22e3d50e9903512ec893174eb797d9ed431b.tar.gz
styleCheck: Fix error for `sugar` and `std/with` (#16176)
With this commit, we no longer see an error if we pass
`--styleCheck:error` when compiling a file that contains `import sugar`
or `import std/with`.

The problem was that those modules (and only those modules) import
`std/private/underscored_calls`, which contained a styleCheck issue:
its spelling of `nnkArgList` didn't match the `nnkArglist` spelling in
`macros.nim`.

This commit fixes the issue by renaming `nnkArgList` to `nnkArglist`
repo-wide. The other way around would be a breaking change for code that
used `nnkArglist` and `--styleCheck:error`.

Fixes: #16174
Diffstat (limited to 'tests/async')
0 files changed, 0 insertions, 0 deletions
='n115' href='#n115'>115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168