dlang-community / drepl

A REPL for D
Boost Software License 1.0
78 stars 20 forks source link

void expressions cause compile error #11

Closed MartinNowak closed 10 years ago

MartinNowak commented 10 years ago
void foo() {}
foo()
=> template _mod0._toString cannot deduce function from argument types !()(void), candidates are:
=> /tmp/drepl.ETcYH7/_mod0.d(2): _mod0._toString(T)(auto ref T t)
=> /tmp/drepl.ETcYH7/_mod0.d(8): _mod0._toString(Args...)(auto ref Args args) if (Args.length > 1)
MartinNowak commented 10 years ago

ee6a3da0f62cc114399527c76474082d90129235