On Thu, Nov 13, 2014 at 07:27:57PM +0000, Ilya Yaroshenko via Digitalmars-d wrote: > alias can not be deprecated :-( > > > >What about: > > > >static import std.algorithm : startsWith, endsWith, cmp, count; > >static import std.array : join, split; > > > >deprecated { > > alias startsWith = std.algorithm.startsWith; > > ... > >}
Maybe we should file an enhancement request to make alias deprecatable. I know recently someone asked for the 'module' declaration to be deprecatable, and it was implemented. Maybe it's time to extend that to aliases too. :-) T -- There's light at the end of the tunnel. It's the oncoming train.