mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 11:42:33 +00:00
* fixes #20132; fixes the broken jsondoc comand
* add testcase
(cherry picked from commit 2aeb0d516b)
12 lines
141 B
Nim
12 lines
141 B
Nim
proc doSomething*(x, y: int): int =
|
|
## do something
|
|
x + y
|
|
|
|
const
|
|
a* = 1 ## echo 1234
|
|
b* = "test"
|
|
|
|
type
|
|
MyEnum* = enum
|
|
foo, bar
|