Deprecate gc v2 (#10151)
* Deprecate gc v2 * warnDeprecated now has custom messages
This commit is contained in:
parent
e7fa8f3443
commit
9faad7591e
12 changed files with 21 additions and 21 deletions
|
|
@ -2434,7 +2434,7 @@ proc semExpr(c: PContext, n: PNode, flags: TExprFlags = {}): PNode =
|
|||
result.kind = nkCall
|
||||
result = semExpr(c, result, flags)
|
||||
of nkBind:
|
||||
message(c.config, n.info, warnDeprecated, "bind")
|
||||
message(c.config, n.info, warnDeprecated, "bind is deprecated")
|
||||
result = semExpr(c, n.sons[0], flags)
|
||||
of nkTypeOfExpr, nkTupleTy, nkTupleClassTy, nkRefTy..nkEnumTy, nkStaticTy:
|
||||
if c.matchedConcept != nil and n.len == 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue