Hi, signed up to post this. Congrats on achieving 1.0! My two current major projects already built just fine and in fact thanks to the unused imports message I was able to cull a bunch. I did however find a small problem. In one of them I have some modules which I export functionality from. The issue I found is that when one exports an imported module with a different name, i.e.
import X as Y
export Y
The compiler still warns about X being an unused import, even if this is used in a module which imports this one.
Here's the minimal sample I confirmed this with: https://anonfile.com/b3ueEe6an1/minimal_sample_zip
Done. Sorry I'm kind of new to using Github issues.
Link for convenience: https://github.com/nim-lang/Nim/issues/12259