Fix bug 18079 - rdmd does not discover all dependencies#291
Fix bug 18079 - rdmd does not discover all dependencies#291marler8997 wants to merge 1 commit intodlang:masterfrom
Conversation
|
Thanks for your pull request, @marler8997! We are looking forward to reviewing it, and you should be hearing from a maintainer soon. Some tips to help speed things up:
Bear in mind that large or tricky changes may require multiple rounds of review and revision. Please see CONTRIBUTING.md for more information. Bugzilla references
|
|
indeed, on a simple test using time command, simply adding -deps kills performance. This defeats purpose of this PR and justifies the need for #271 |
|
NOTE: just filed this bug, it prevents this PR from working at all currently: https://issues.dlang.org/show_bug.cgi?id=18271 |
|
I think this may be by design. It only performs the full semantic analysis on modules imported by the first module given on the command line. I remember seeing the code do this and I thought it was odd but I assumed there was a reason for this. |
|
This is where the extra semantic analysis is done when the |
|
thanks, replied directly on bug report (https://issues.dlang.org/show_bug.cgi?id=18271#c2) to keep that side discussion separate |
Fix for issue https://issues.dlang.org/show_bug.cgi?id=18079
This will result in a known performance decrease but this is unavoidable unless we can modify
rdmdto invokedmd1 time instead of 2.