fixes #5050; fixes #11826 (#12606) [backport]

This commit is contained in:
cooldome 2019-11-07 13:47:26 +00:00 • committed by Andreas Rumpf
commit e1b1759439
5 changed files with 47 additions and 14 deletions

View file

@ -0,0 +1,17 @@
discard """
nimout: '''
compile start
Hint: warn_module [Processing]
Hint: hashes [Processing]
warn_module.nim(6, 6) Hint: 'test' is declared but not used [XDeclaredButNotUsed]
compile end
'''
"""
static:
echo "compile start"
import warn_module
static:
echo "compile end"