nimpretty: closes #10159 [bugfix]

This commit is contained in:
Araq
2019-06-07 13:03:04 +02:00
parent 667af87e66
commit 12fc1dfb2c
2 changed files with 24 additions and 0 deletions

View File

@@ -384,3 +384,15 @@ proc foo * () =
proc foo* [T]() =
discard
# bug #10159
proc fun() =
discard
proc main() =
echo "foo"; echo "bar";
discard
main()

View File

@@ -394,3 +394,15 @@ proc foo*() =
proc foo*[T]() =
discard
# bug #10159
proc fun() =
discard
proc main() =
echo "foo"; echo "bar";
discard
main()