Code



Compilation output:

/opt/compilers/dmd2/include/std/format.d(2610): Error: template instance formatObject!(Appender!string, immutable(Foo), char) does not match template declaration formatObject(Writer, T, Char)(ref Writer w, ref T val, ref FormatSpec!Char f) if (hasToString!(T, Char)) /opt/compilers/dmd2/include/std/format.d(2373): Error: template instance std.format.formatValue!(Appender!string, immutable(Foo), char) error instantiating /opt/compilers/dmd2/include/std/format.d(2185): instantiated from here: formatElement!(Appender!string, immutable(Foo), char) /opt/compilers/dmd2/include/std/format.d(1904): instantiated from here: formatRange!(Appender!string, immutable(Foo)[], char) /opt/compilers/dmd2/include/std/format.d(2373): instantiated from here: formatValue!(Appender!string, immutable(Foo)[], char) /opt/compilers/dmd2/include/std/typecons.d(570): ... (1 instantiations, -v to show) ... /opt/compilers/dmd2/include/std/range.d(2070): instantiated from here: Tuple!(immutable(Foo)[], immutable(Foo)[]) /d678/f266.d(9): instantiated from here: chain!(immutable(Foo)[], immutable(Foo)[]) /opt/compilers/dmd2/include/std/format.d(2185): Error: template instance std.format.formatElement!(Appender!string, immutable(Foo), char) error instantiating /opt/compilers/dmd2/include/std/format.d(1904): instantiated from here: formatRange!(Appender!string, immutable(Foo)[], char) /opt/compilers/dmd2/include/std/format.d(2373): instantiated from here: formatValue!(Appender!string, immutable(Foo)[], char) /opt/compilers/dmd2/include/std/typecons.d(570): instantiated from here: formatElement!(Appender!string, immutable(Foo)[], char) /opt/compilers/dmd2/include/std/range.d(2070): instantiated from here: Tuple!(immutable(Foo)[], immutable(Foo)[]) /d678/f266.d(9): instantiated from here: chain!(immutable(Foo)[], immutable(Foo)[]) /opt/compilers/dmd2/include/std/format.d(1904): Error: template instance std.format.formatRange!(Appender!string, immutable(Foo)[], char) error instantiating /opt/compilers/dmd2/include/std/format.d(2373): instantiated from here: formatValue!(Appender!string, immutable(Foo)[], char) /opt/compilers/dmd2/include/std/typecons.d(570): instantiated from here: formatElement!(Appender!string, immutable(Foo)[], char) /opt/compilers/dmd2/include/std/range.d(2070): instantiated from here: Tuple!(immutable(Foo)[], immutable(Foo)[]) /d678/f266.d(9): instantiated from here: chain!(immutable(Foo)[], immutable(Foo)[]) /opt/compilers/dmd2/include/std/format.d(2373): Error: template instance std.format.formatValue!(Appender!string, immutable(Foo)[], char) error instantiating /opt/compilers/dmd2/include/std/typecons.d(570): instantiated from here: formatElement!(Appender!string, immutable(Foo)[], char) /opt/compilers/dmd2/include/std/range.d(2070): instantiated from here: Tuple!(immutable(Foo)[], immutable(Foo)[]) /d678/f266.d(9): instantiated from here: chain!(immutable(Foo)[], immutable(Foo)[]) /opt/compilers/dmd2/include/std/typecons.d(570): Error: template instance std.format.formatElement!(Appender!string, immutable(Foo)[], char) error instantiating /opt/compilers/dmd2/include/std/range.d(2070): instantiated from here: Tuple!(immutable(Foo)[], immutable(Foo)[]) /d678/f266.d(9): instantiated from here: chain!(immutable(Foo)[], immutable(Foo)[]) /opt/compilers/dmd2/include/std/range.d(2070): Error: template instance std.typecons.Tuple!(immutable(Foo)[], immutable(Foo)[]) error instantiating /d678/f266.d(9): instantiated from here: chain!(immutable(Foo)[], immutable(Foo)[]) /d678/f266.d(9): Error: template instance std.range.chain!(immutable(Foo)[], immutable(Foo)[]) error instantiating

Paste info


Author: Guest
Views: 1516
Private: no
Expires: Never
Uploaded: 25.11.13 20:36
Votes: 0

Compilation


Compiler: DMD 2.076.1 ( 2.076.1 )
Pointer size: m64

Actions