https://issues.dlang.org/show_bug.cgi?id=14198
Walter Bright <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Walter Bright <[email protected]> --- This reduces to: --- import std.conv; struct S { ptrdiff_t function() fptr = &handler; static ptrdiff_t handler() { static if (is(typeof(to!(string)(false)))) { to!(string)(false); } return 0; } } void main() { } --- I don't think it has anything to do with 4335, but with emitting instantiations done during a typeof. --
