Files
Nim/lib/system
Timothee Cour b8f761b7e2 even lighter version of #17938: fix most issues with UnusedImport, 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
2021-06-26 15:21:46 +02:00
..
2021-05-06 13:27:40 +02:00
2021-03-29 17:54:28 +02:00
2021-03-29 09:11:07 +08:00
2021-04-09 16:29:10 +02:00
2021-01-04 18:27:58 +01:00
2021-04-07 23:26:53 +02:00
2019-09-16 23:54:31 +02:00
2020-05-12 15:46:24 +02:00
2021-03-28 20:21:27 -07:00
2021-05-12 22:00:37 +02:00
2020-12-03 14:47:44 +01:00
2020-01-30 10:54:50 +01:00