fixes linter regressions

(cherry picked from commit 73cc029fec)
This commit is contained in:
Araq
2019-07-10 18:59:27 +02:00
committed by narimiran
parent 3d33e96388
commit 2b4a7ff6f6
4 changed files with 15 additions and 3 deletions

View File

@@ -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