Nim/tests/stylecheck/t20397_1.nim
ringabout 70c25c45d6
fixes #20397; fixes stylecheck regression (#20398)
* fixes  #20397; fixes stylecheck

* add testcase
2022-09-21 15:04:33 -04:00

8 lines
No EOL
120 B
Nim

discard """
matrix: "--styleCheck:off"
"""
{.hintAsError[Name]:on.}
var a_b = 1
discard a_b
{.hintAsError[Name]:off.}