diff options
author | Araq <rumpf_a@web.de> | 2018-11-16 13:27:46 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-11-16 13:27:56 +0100 |
commit | 3f6168b3372013c0d4b938e6a83849199d9756c9 (patch) | |
tree | bb5eaf3d75d30fabe4325049238611659aa0c420 /lib/core | |
parent | 4233046e3f62c89495b8e351b328401322296b56 (diff) | |
download | Nim-3f6168b3372013c0d4b938e6a83849199d9756c9.tar.gz |
removes deprecated T/P types
Diffstat (limited to 'lib/core')
-rw-r--r-- | lib/core/locks.nim | 2 | ||||
-rw-r--r-- | lib/core/macros.nim | 2 | ||||
-rw-r--r-- | lib/core/typeinfo.nim | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/lib/core/locks.nim b/lib/core/locks.nim index f9add0037..d6d579ba0 100644 --- a/lib/core/locks.nim +++ b/lib/core/locks.nim @@ -17,8 +17,6 @@ type ## or not is unspecified! Cond* = SysCond ## Nim condition variable -{.deprecated: [TLock: Lock, TCond: Cond].} - {.push stackTrace: off.} proc initLock*(lock: var Lock) {.inline.} = diff --git a/lib/core/macros.nim b/lib/core/macros.nim index 2508a889e..d74d86bf6 100644 --- a/lib/core/macros.nim +++ b/lib/core/macros.nim @@ -418,8 +418,6 @@ type ## if not ambiguous (this cannot be achieved with ## any other means in the language currently) -{.deprecated: [TBindSymRule: BindSymRule].} - proc bindSym*(ident: string | NimNode, rule: BindSymRule = brClosed): NimNode {. magic: "NBindSym", noSideEffect.} ## creates a node that binds `ident` to a symbol node. The bound symbol diff --git a/lib/core/typeinfo.nim b/lib/core/typeinfo.nim index c78752360..14613c50d 100644 --- a/lib/core/typeinfo.nim +++ b/lib/core/typeinfo.nim @@ -83,8 +83,6 @@ when not defined(js): template `rawType=`(x: var Any, p: PNimType) = x.rawTypePtr = cast[pointer](p) -{.deprecated: [TAny: Any, TAnyKind: AnyKind].} - when defined(gogc): const GenericSeqSize = (3 * sizeof(int)) else: |