-
-
Notifications
You must be signed in to change notification settings - Fork 619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-v command line switch should show import sources #20855
Comments
import std.concurrency;
void main(){} Built with Shows the errors:
Completely unrelated to the faulting import. IMO, this should even be extended to default messages |
try again with the -v switch as specified in the title. |
|
So if this enhancement were implemented, you'd see that core.time was imported by core.sync.condition, and that core.sync.condition was imported by std.concurrency. It would be easy to trace the path. |
-v gives a list of imports and what files they are when parsing.
However, it doesn't tell you why the module was imported. Adding an additional field of the import source (and line number would be good too), might help diagnose unexpected import sources.
The text was updated successfully, but these errors were encountered: