diff options
author | flywind <xzsflywind@gmail.com> | 2022-01-19 15:39:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 08:39:22 +0100 |
commit | b3c178c2024f679a83275f63ca9e21a8b5ba73d7 (patch) | |
tree | 9420bc048c61d53afcead1eaf7d8eddf5bbb9817 | |
parent | aac54b9c7ffb75c9aab446574171b33bf23a29ed (diff) | |
download | Nim-b3c178c2024f679a83275f63ca9e21a8b5ba73d7.tar.gz |
suppress deprecated warnings (#19408)
* suppress deprecated warnings once bump version to 1.7.3 enable deprecated messages * deprecate later
-rw-r--r-- | lib/system.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/system.nim b/lib/system.nim index 3b3e28344..02da048e4 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -213,8 +213,7 @@ proc `addr`*[T](x: T): ptr T {.magic: "Addr", noSideEffect.} = ## echo p[] # b discard -proc unsafeAddr*[T](x: T): ptr T {.magic: "Addr", noSideEffect, - deprecated: "'unsafeAddr' is a deprecated alias for 'addr'".} = +proc unsafeAddr*[T](x: T): ptr T {.magic: "Addr", noSideEffect.} = ## Builtin `addr` operator for taking the address of a memory ## location. ## |