https://issues.dlang.org/show_bug.cgi?id=10437
RazvanN changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=10437
Andrei Alexandrescu changed:
What|Removed |Added
Version|future |D2
--
http://d.puremagic.com/issues/show_bug.cgi?id=10437
--- Comment #4 from Kenji Hara 2013-06-21 06:52:57 PDT ---
(In reply to comment #3)
> I think the question is misleading. The actual question is how clever the
> analysis is. Call-graph information provides a similar scenario:
>
> import std.
http://d.puremagic.com/issues/show_bug.cgi?id=10437
--- Comment #3 from q...@web.de 2013-06-21 06:30:37 PDT ---
(In reply to comment #1)
> What will occur with template function?
>
> import std.conv : to;
>
> T convert(T, S)(S src)
> {
> return to!T(src);
> }
>
> void main() {}
> // templ
http://d.puremagic.com/issues/show_bug.cgi?id=10437
Andrej Mitrovic changed:
What|Removed |Added
CC||andrej.mitrov...@gmail.com
--- Comm
http://d.puremagic.com/issues/show_bug.cgi?id=10437
--- Comment #1 from Kenji Hara 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 t