You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
timotheecour
changed the title
[minor] UnusedImport should not be triggered for --import:mymodule
UnusedImport should not be triggered for --import:mymoduleSep 17, 2020
UnusedImport should not be triggered for
--import:mymodule
; it gets triggered on each module in the project that doesn't use mymodule.While the current behavior is technically correct, it's more pedantic than useful.
Example
Current Output
nim c --import:std/times t0935.nim
UnusedImport gets triggered for each module in the project (that doesn't use the imported module)
Expected Output
no warning, or, ideally, only 1 warning if imported module
times
was never used in the whole projectAdditional Information
--import:mymodule:frommodule
to add the import only infrommodule
The text was updated successfully, but these errors were encountered: