diff options
author | Araq <rumpf_a@web.de> | 2019-07-10 18:59:27 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2019-07-10 18:59:27 +0200 |
commit | 73cc029fec8ff52ace34cc94ccee0ff89e975862 (patch) | |
tree | cbb1b9529c7bbe1c90bc926b9ec686fcd52e60e6 /tests/tools | |
parent | dc0bbba3faf9e9d76b34236d1e4a6b5df36bea66 (diff) | |
download | Nim-73cc029fec8ff52ace34cc94ccee0ff89e975862.tar.gz |
fixes linter regressions
Diffstat (limited to 'tests/tools')
-rw-r--r-- | tests/tools/tlinter.nim | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/tests/tools/tlinter.nim b/tests/tools/tlinter.nim index 6ecdba9ff..a0ed9bfc2 100644 --- a/tests/tools/tlinter.nim +++ b/tests/tools/tlinter.nim @@ -8,14 +8,14 @@ tlinter.nim(25, 1) Hint: 'tyPE' should be: 'type' [Name] tlinter.nim(23, 1) Hint: 'foO' should be: 'foo' [Name] tlinter.nim(27, 14) Hint: 'Foo_bar' should be: 'FooBar' [Name] tlinter.nim(29, 6) Hint: 'someVAR' should be: 'someVar' [Name] +tlinter.nim(32, 7) Hint: 'i_fool' should be: 'iFool' [Name] +tlinter.nim(39, 5) Hint: 'meh_field' should be: 'mehField' [Name] ''' action: "compile" """ - - {.pragma: myOwn.} proc foo() {.nosideeffect, myown, inLine.} = debugEcho "hi" @@ -28,3 +28,13 @@ var someVar: Foo_bar = "a" echo someVAR +proc main = + var i_fool = 34 + echo i_fool + +main() + +type + Foo = object + meh_field: int + |