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-19 16:00:14 +02:00
2021-05-26 09:51:48 +02:00
2021-01-07 20:26:40 +01:00
2019-12-05 17:31:51 +01:00
2021-06-24 18:37:04 +02:00
2021-06-15 08:56:10 +02:00
2021-06-14 08:21:18 +02:00
2019-11-28 17:13:04 +01:00
2021-05-12 22:00:37 +02:00
2021-04-17 11:14:09 +02:00
2021-06-17 00:17:46 -07:00
2020-01-23 14:25:22 +01:00
2021-03-19 16:53:38 +01:00
2021-04-17 11:14:09 +02:00
2021-02-19 12:30:39 +01:00
2021-01-27 22:35:43 +01:00
2020-09-16 14:57:01 +02:00
2021-05-12 22:00:37 +02:00
2021-03-29 21:16:11 +02:00
2021-04-09 16:29:10 +02:00
2021-03-19 16:53:38 +01:00
2021-01-25 20:52:26 +01:00
2021-06-04 16:20:47 +02:00
2020-11-26 15:55:56 -08:00
2021-06-20 22:49:14 +02:00
2021-04-17 11:14:09 +02:00
2021-06-20 19:52:22 +02:00
2017-01-07 22:35:09 +01:00
2021-06-18 15:52:08 +02:00
2020-10-25 08:50:47 +01:00
2021-05-12 22:00:37 +02:00
2021-06-20 09:50:03 +02:00
2021-06-20 20:00:42 +02:00
2021-01-02 07:30:39 +01:00
2021-04-01 08:48:44 +02:00
2021-04-17 11:14:09 +02:00
2021-06-02 09:02:14 -07:00
2021-06-06 09:53:22 +02:00
2020-08-28 22:18:09 +02:00
2019-11-28 17:13:04 +01:00
2019-10-03 00:48:31 -04:00
2021-02-17 19:26:08 +01:00
2020-10-25 08:50:47 +01:00
2021-01-07 20:26:40 +01:00
2021-06-26 15:21:46 +02:00
2020-06-01 19:21:41 +02:00
2021-06-04 16:20:47 +02:00
2021-02-24 17:57:19 +01:00
2021-04-21 07:41:33 +02:00
2021-06-23 23:31:17 +02:00
2021-05-20 15:48:46 +02:00
2021-05-20 15:48:46 +02:00
2021-06-11 10:07:23 +02:00
2021-03-12 15:34:42 +01:00
2021-04-10 08:55:39 +02:00
2021-05-12 22:00:37 +02:00
2021-03-09 20:19:24 +01:00
2021-06-26 15:21:46 +02:00
2021-05-08 06:43:52 +02:00
2021-03-03 07:15:07 +01:00
2021-06-26 15:21:46 +02:00
2021-01-02 07:30:39 +01:00
2021-01-12 09:36:51 +01:00
2021-04-17 11:14:09 +02:00
2021-06-20 09:50:03 +02:00
2021-05-12 07:15:05 +02:00
2020-08-28 22:18:09 +02:00
2021-06-18 19:23:27 +02:00
2021-06-18 19:23:27 +02:00
2020-04-01 17:48:17 +02:00
2021-04-21 07:41:33 +02:00
2021-05-26 09:51:48 +02:00
2021-06-24 00:58:11 -07:00
2020-11-25 07:48:27 +01:00
2021-06-03 22:29:45 +02:00
2021-04-16 09:16:39 +02:00
2020-12-02 09:15:29 +01:00
2021-04-21 07:41:33 +02:00
2020-06-23 10:53:57 +02:00
2019-07-01 11:59:02 +02:00
2019-09-27 07:02:54 +02:00
2021-03-09 20:19:24 +01:00
2021-06-24 11:55:31 +02:00
2021-01-07 20:26:40 +01:00
2020-10-21 15:53:43 -07:00
2021-04-30 17:17:29 +02:00
2021-06-26 15:21:46 +02:00
2021-03-23 08:52:00 +01:00
2020-11-25 07:48:27 +01:00
2021-01-29 14:30:24 +01:00
2021-02-01 13:11:35 +01:00
2018-05-27 19:19:12 +02:00
2021-06-20 09:51:07 +02:00
2020-11-25 07:48:27 +01:00
2020-09-22 18:24:13 +02:00
2020-05-11 13:50:40 +02:00
2021-06-10 18:19:20 +02:00
2021-05-14 07:30:47 +02:00
2021-04-09 08:00:13 +02:00
2021-04-21 07:41:33 +02:00
2019-11-28 17:13:04 +01:00
2020-09-11 01:04:07 +02:00
2020-11-26 15:55:56 -08:00
2021-06-10 18:19:20 +02:00
2021-06-14 08:21:18 +02:00
2021-05-12 22:00:37 +02:00
2021-06-18 15:52:08 +02:00
2021-01-07 20:26:40 +01:00
2021-04-17 11:14:09 +02:00
2021-06-02 13:14:10 +02:00
2021-03-17 19:51:50 +01:00
2021-04-17 11:14:09 +02:00
2021-06-19 11:24:46 -07:00
2021-05-16 10:03:22 -07:00
2021-04-07 19:54:28 +02:00
2021-06-25 14:12:23 +02:00
2021-06-16 16:40:22 +02:00
2021-06-02 13:14:10 +02:00
2021-06-22 12:44:56 +02:00
2021-05-12 07:15:05 +02:00
2021-04-14 08:50:15 +02:00
2021-04-17 15:34:00 +02:00
2021-01-02 07:30:39 +01:00
2021-04-17 11:14:09 +02:00
2021-04-17 11:14:09 +02:00
2021-04-24 18:33:29 +01:00
2020-11-10 21:53:25 +01:00
2021-04-19 19:02:52 -07:00
2021-04-17 11:49:54 +02:00
2020-04-03 09:10:45 +02:00
2021-04-17 11:14:09 +02:00
2020-11-30 23:36:38 +01:00
2021-05-09 00:56:37 +02:00
2021-04-17 11:14:09 +02:00
2021-05-12 22:00:37 +02:00
2020-11-26 11:54:18 -08:00
2021-06-25 06:22:52 +02:00
2021-06-24 11:55:31 +02:00
2021-02-17 11:52:46 +01:00
2021-05-12 22:00:37 +02:00
2021-06-12 21:35:12 +02:00
2021-06-17 00:17:46 -07:00
2021-02-17 11:52:46 +01:00
2021-04-17 11:14:09 +02:00
2021-06-24 11:55:31 +02:00
2020-07-09 19:21:20 +02:00
2021-04-21 07:41:33 +02:00