dont silence hints in system.nim (#18034)

This commit is contained in:
Timothee Cour 2021-05-30 14:57:25 -07:00 • committed by GitHub
commit 98ea61f09b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,7 +112,7 @@ proc compileOption*(option, arg: string): bool {.
discard "compiled with optimization for size and uses Boehm's GC" discard "compiled with optimization for size and uses Boehm's GC"
{.push warning[GcMem]: off, warning[Uninit]: off.} {.push warning[GcMem]: off, warning[Uninit]: off.}
{.push hints: off.} # {.push hints: off.}
proc `or`*(a, b: typedesc): typedesc {.magic: "TypeTrait", noSideEffect.} proc `or`*(a, b: typedesc): typedesc {.magic: "TypeTrait", noSideEffect.}
## Constructs an `or` meta class. ## Constructs an `or` meta class.
@ -2471,7 +2471,7 @@ proc quit*(errormsg: string, errorcode = QuitFailure) {.noreturn.} =
quit(errorcode) quit(errorcode)
{.pop.} # checks: off {.pop.} # checks: off
{.pop.} # hints: off # {.pop.} # hints: off
proc `/`*(x, y: int): float {.inline, noSideEffect.} = proc `/`*(x, y: int): float {.inline, noSideEffect.} =
## Division of integers that results in a float. ## Division of integers that results in a float.