September 10 [Issue 24759] Order-dependent failure to create an overload set with template function | ||||
---|---|---|---|---|
| ||||
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;' -- |
Copyright © 1999-2021 by the D Language Foundation