Skip to content

Commit 2314bdb

Browse files
committed
remove all remaining usages of nimHasSinkInference
1 parent 98b20d7 commit 2314bdb

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

lib/system/assertions.nim

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ proc `$`(info: InstantiationInfo): string =
2020

2121
# ---------------------------------------------------------------------------
2222

23-
when not defined(nimHasSinkInference):
24-
{.pragma: nosinks.}
25-
26-
proc raiseAssert*(msg: string) {.noinline, noreturn, nosinks.} =
23+
proc raiseAssert*(msg: string) {.noinline, noreturn.} =
2724
## Raises an `AssertionDefect` with `msg`.
2825
sysFatal(AssertionDefect, msg)
2926

lib/system/inclrtl.nim

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,3 @@ else:
4444
{.pragma: compilerRtl, compilerproc.}
4545

4646
{.pragma: benign, gcsafe, locks: 0.}
47-
48-
when defined(nimHasSinkInference):
49-
{.push sinkInference: on.}

0 commit comments

Comments
 (0)