mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-25 08:43:58 +00:00
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user