the 'deprecated' pragma for modules now supports an error message
This commit is contained in:
parent
c34cb101b8
commit
8518683dc7
3 changed files with 12 additions and 3 deletions
|
|
@ -847,6 +847,8 @@ type
|
|||
constraint*: PNode # additional constraints like 'lit|result'; also
|
||||
# misused for the codegenDecl pragma in the hope
|
||||
# it won't cause problems
|
||||
# for skModule the string literal to output for
|
||||
# deprecated modules.
|
||||
when defined(nimsuggest):
|
||||
allUsages*: seq[TLineInfo]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue