https://issues.dlang.org/show_bug.cgi?id=16577
Issue ID: 16577
Summary: deprecated message problem with overloaded functions
and selective import
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
Taking the case of std.json.toJSON:
void main()
{
import std.json: toJSON, JSONValue;
JSONValue v;
auto str = toJSON(v);
}
the deprecation message appears two times for the selective import but we only
use the right overload once.
--