Code



Compilation output:

/home/c15/c614.d(9): Error: this for a needs to be type C not type Foo /opt/compilers/dmd2/include/std/range.d(611): Error: static assert "Cannot put a char[] into a Appender!(string)" /opt/compilers/dmd2/include/std/format.d(1436): instantiated from here: put!(Appender!(string), char[]) /opt/compilers/dmd2/include/std/format.d(1338): instantiated from here: formatUnsigned!(Appender!(string), char) /opt/compilers/dmd2/include/std/format.d(1312): instantiated from here: formatIntegral!(Appender!(string), ulong, char) /opt/compilers/dmd2/include/std/conv.d(100): ... (7 instantiations, -v to show) ... /opt/compilers/dmd2/include/std/stdio.d(1784): instantiated from here: writefln!(char, ulong) /home/c15/c614.d(10): instantiated from here: writefln!(string,ulong)

Paste info


Author: Guest
Views: 216
Private: no
Expires: Never
Uploaded: 02.03.13 23:34
Votes: 0

Compilation


Compiler: DMD 2.062
Pointer size: m64