Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | even lighter version of #17938: fix most issues with UnusedImport, ↵ | Timothee Cour | 2021-06-26 | 1 | -6/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XDeclaredButNotUsed, etc; fix #17511, #17510, #14246 (without realModule) (#18362) * {.used: symbol} * add tests * fix tests with --import * --import works without giving spurious unused warnings * new warning warnDuplicateModuleImport for `import foo; import foo` * fix test, add resolveModuleAlias, use proper line info for module aliases * fix spurious warnings * fix deprecation msg for deprecated modules even with `import foo as bar` * disable a test for i386 pending sorting XDeclaredButNotUsed errors * UnusedImport now works with re-exported symbols * fix typo [skip ci] * ic support * add genPNode to allow writing PNode-based compiler code similarly to `genAst` * fix DuplicateModuleImport warning * adjust test * fixup * fixup * fixup * fix after rebase * fix for IC * keep the proc inline, move the const out * [skip ci] fix changelog * experiment: remove calls to resolveModuleAlias * followup * fixup * fix tests/modules/tselfimport.nim * workaround tests/deprecated/tmodule1.nim * fix properly * simplify | ||||
* | fix #11009 (#14935) | flywind | 2020-07-09 | 1 | -0/+10 |
| | |||||
* | fix #8063 by adding a testcase for: Deprecation warnings for enum values ↵ | Timothee Cour | 2019-01-31 | 1 | -2/+25 |
| | | | | print twice (#10508) | ||||
* | {.deprecated: msg.} now works for vars and lets (#10234) | Neelesh Chandola | 2019-01-08 | 2 | -7/+9 |
| | |||||
* | Show deprecation warning for fields of a deprecated enum (#10112) | Neelesh Chandola | 2018-12-30 | 1 | -4/+14 |
| | | | | | | * Show deprecation warning for fields of a deprecated enum * Add test | ||||
* | require errormsg to be specified before file. | Arne Döring | 2018-12-11 | 1 | -1/+1 |
| | |||||
* | More robust handling of deprecated pragmas (#8696) | LemonBoy | 2018-08-21 | 3 | -0/+40 |
| | | | | | | Prevent `deprecated` annotations to "slip" up to the parent module and warn about unsupported annotations. Accidentally fixes #7867 | ||||
* | fixes --gc:none regression; made some tests green | Araq | 2015-03-10 | 1 | -2/+2 |
| | |||||
* | some love for the testsuite; fixed regressions | Araq | 2015-03-01 | 1 | -3/+1 |
| | |||||
* | new tester; all tests categorized | Araq | 2014-01-13 | 1 | -0/+11 |