https://issues.dlang.org/show_bug.cgi?id=16653
--- Comment #1 from Lucia Cojocaru <[email protected]> --- The cause of the issue is the way the template code is written in phobos: https://github.com/dlang/phobos/blob/master/std/traits.d#L1225 It looks like this is expected for lazy variables: http://forum.dlang.org/thread/[email protected] Should we support the ParameterDefault template for functions with lazy parameters? --
