We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nimHasSinkInference
1 parent 98b20d7 commit 2314bdbCopy full SHA for 2314bdb
lib/system/assertions.nim
@@ -20,10 +20,7 @@ proc `$`(info: InstantiationInfo): string =
20
21
# ---------------------------------------------------------------------------
22
23
-when not defined(nimHasSinkInference):
24
- {.pragma: nosinks.}
25
-
26
-proc raiseAssert*(msg: string) {.noinline, noreturn, nosinks.} =
+proc raiseAssert*(msg: string) {.noinline, noreturn.} =
27
## Raises an `AssertionDefect` with `msg`.
28
sysFatal(AssertionDefect, msg)
29
lib/system/inclrtl.nim
@@ -44,6 +44,3 @@ else:
44
{.pragma: compilerRtl, compilerproc.}
45
46
{.pragma: benign, gcsafe, locks: 0.}
47
48
-when defined(nimHasSinkInference):
49
- {.push sinkInference: on.}
0 commit comments