add -transition=checkimports switch#5476
Conversation
1f5a7be to
eb6bf6c
Compare
eb6bf6c to
0cdcda2
Compare
add -transition=checkimports switch
|
I also added this to the changelog, see 3cadde0. |
|
I have a question about the
|
|
I found another confusing behavior.
|
| { | ||
| // Search both ways | ||
|
|
||
| auto sold = searchScopes(flags | SearchCheck10378); |
There was a problem hiding this comment.
OK, I noticed that we cannot get intentional result on this line.
When -transition=checkimports is specified, global.params.bug10378 is set to false, so this Dsymbol.search will return the new lookup algorithm result always.
|
Why not make this part of the deprecation command-line switch? |
|
Because Walter didn't agree with introducing (little?) compilation speed slowdown to show informative deprecation messages... |
This is added to provide deprecation warnings to ease the transition to the new import lookup method introduced by #5445