nimpretty: fixes #9398

This commit is contained in:
Araq 2018-10-24 00:53:41 +02:00
commit e3a0415650
4 changed files with 21 additions and 2 deletions

View file

@ -1,4 +1,5 @@
var x: int = 2
echo x # bug #9144
echo x
# bug #9144

View file

@ -7,3 +7,9 @@ proc fun*() =
echo "ok"
## doc comment
# regular comment
proc funB() =
echo "ok1"
# echo "ok2"
fun()

View file

@ -7,3 +7,9 @@ proc fun*()=
echo "ok"
## doc comment
# regular comment
proc funB() =
echo "ok1"
# echo "ok2"
fun()