Suppress hint, import types in toast

This commit is contained in:
Ganesh Viswanathan 2019-01-30 13:16:24 -06:00
commit b0eba35834
6 changed files with 10 additions and 7 deletions

View file

@ -134,6 +134,9 @@ proc printNimHeader*() =
# $2 $3 # $2 $3
{.experimental: "codeReordering".} {.experimental: "codeReordering".}
{.hint[ConvFromXtoItselfNotNeeded]: off.}
import nimterop/types
""" % [$now(), getAppFilename(), commandLineParams().join(" ")] """ % [$now(), getAppFilename(), commandLineParams().join(" ")]
proc printNim*(fullpath: string, root: TSNode, astTable: AstTable) = proc printNim*(fullpath: string, root: TSNode, astTable: AstTable) =