foo is not an lvalue
Ellery Newcomer
ellery-newcomer at utulsa.edu
Wed Apr 17 17:36:26 PDT 2013
void main() {
foo!();
}
template foo( ) {
void foo() {
auto a = (&foo);
}
}
dmd from master (a few days ago) gives:
Error: foo()() is not an lvalue
wut?
More information about the Digitalmars-d-learn
mailing list