fixes #12029; finish the 'unused import' feature (#12064)

This commit is contained in:
Andreas Rumpf 2019-08-27 19:18:56 +02:00 • committed by GitHub
commit 114da04cbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 28 additions and 4 deletions

View file

@ -58,6 +58,10 @@
- The Nim compiler now does not recompile the Nim project via ``nim c -r`` if
no dependent Nim file changed. This feature can be overridden by
the ``--forceBuild`` command line option.
- The Nim compiler now warns about unused module imports. You can use a
top level ``{.used.}`` pragma in the module that you want to be importable
without producing this warning.
### Compiler changes