mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
* continue #9582 for consts, close #9331, fix #20114 also move extractPragma to ast to pave the way for things like {.strdefine: "abc".} etc * changelog correctly * fix jsgen * update tgetimpl * fix sighashes * fix #19766, add comment about postfix * fix noRewrite LOL refs #16620 * fix changelog * fix destructors
9 lines
149 B
Nim
9 lines
149 B
Nim
discard """
|
|
nimout: '''
|
|
tconst.nim(8, 9) Warning: abcd; foo is deprecated [Deprecated]
|
|
'''
|
|
"""
|
|
|
|
const foo* {.deprecated: "abcd".} = 42
|
|
discard foo
|