https://issues.dlang.org/show_bug.cgi?id=24759
--- Comment #1 from Max Samukha <maxsamukha@gmail.com> ---
Another manifestation of likely the same bug:
module a;
import std.range.primitives;
ref T front(T)(T* range) => range[0];
alias front = std.range.primitives.front;
void main()
{
}
----
a.d(6): Deprecation: package std.range is not accessible here, perhaps add
'static import std.range;'
a.d(6): Deprecation: module std.range.primitives is not accessible here,
perhaps add 'static import std.range.primitives;'
a.d(6): Deprecation: package std.range is not accessible here, perhaps add
'static import std.range;'
a.d(6): Deprecation: module std.range.primitives is not accessible here,
perhaps add 'static import std.range.primitives;'
--
|