[Issue 10437] Warnings for unused private imports
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jun 21 06:14:09 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10437
--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2013-06-21 06:14:08 PDT ---
What will occur with template function?
import std.conv : to;
T convert(T, S)(S src)
{
return to!T(src);
}
void main() {}
// template function convert is not instantiated.
In this case, imported std.conv is unused then compiler might warn it. Is this
right?
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list