disable sink inference, only enable it for the stdlib. Reason: better source code compatibility (#15105)
This commit is contained in:
parent
e4e4931432
commit
86c9b78339
6 changed files with 18 additions and 5 deletions
|
|
@ -48,3 +48,6 @@ when defined(nimlocks):
|
|||
{.pragma: benign, gcsafe, locks: 0.}
|
||||
else:
|
||||
{.pragma: benign, gcsafe.}
|
||||
|
||||
when defined(nimHasSinkInference):
|
||||
{.push sinkInference: on.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue