diff options
author | Neelesh Chandola <neelesh.chandola@outlook.com> | 2019-01-01 18:20:48 +0530 |
---|---|---|
committer | Miran <narimiran@disroot.org> | 2019-01-01 13:50:48 +0100 |
commit | 9faad7591e37fa074544206d1de17e59f56bd576 (patch) | |
tree | 5ab5e233cc4cd822f67c748eb025a4aa953dfb37 /compiler/semstmts.nim | |
parent | e7fa8f3443ebe03d74fb20b7f4d0096756211463 (diff) | |
download | Nim-9faad7591e37fa074544206d1de17e59f56bd576.tar.gz |
Deprecate gc v2 (#10151)
* Deprecate gc v2 * warnDeprecated now has custom messages
Diffstat (limited to 'compiler/semstmts.nim')
-rw-r--r-- | compiler/semstmts.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semstmts.nim b/compiler/semstmts.nim index f60e2556d..59eb23162 100644 --- a/compiler/semstmts.nim +++ b/compiler/semstmts.nim @@ -1582,7 +1582,7 @@ proc semMethodPrototype(c: PContext; s: PSym; n: PNode) = foundObj = true x.methods.add((col,s)) if not foundObj: - message(c.config, n.info, warnDeprecated, "generic method not attachable to object type") + message(c.config, n.info, warnDeprecated, "generic method not attachable to object type is deprecated") else: # why check for the body? bug #2400 has none. Checking for sfForward makes # no sense either. |