I'm trying to compile a very simple interface
interface Interface {
public final int f() {return do_f();}
private int do_f();
}
and get a
rdmd extest.d
/tmp/.rdmd-1000/rdmd-extest.d-2D0F68D708BAD881E0A2B251239A887D/objs/extest.o: In function `_D6extest9Interface1fMFZi':
extest.d:(.text._D6extest9Interface1fMFZi+0x4d): undefined reference to `_D6extest9Interface4do_fMFZi'
collect2: ld returned 1 exit status
--- errorlevel 1
According to TDPL (and, well, common sense) this should work, but doesn't (dmd v2.063.2).
Comment #1 by andrej.mitrovich — 2013-06-20T06:30:49Z
*** This issue has been marked as a duplicate of issue 4542 ***