On Tuesday, 17 June 2014 at 08:23:08 UTC, Jacob Carlborg wrote:
That would require semantic analysis. Basically evaluate the string mixin and to autocomplete on the resulted code.
But consider something like gofix/dfix where you have to propagate changes back to the original prefix string. What do you do when the same prefix is used differently in two different mixin contexts?
And even more important: how can you be certain that you discover all possible deprecated uses of a string-mixin'ed feature when you have the ability to do versioning. You either have to explore the "combinatorial explosion" of versioning constants or restrict the search to a fixed set.