Mercurial > projects > ldc
view tangotests/h.d @ 329:8c1dc3e705da trunk
[svn r350] Fixed incorrect function types for lazy arguments. looks like lazy arguments have never even worked :o well.. now they should.
author | lindquist |
---|---|
date | Fri, 11 Jul 2008 01:34:04 +0200 |
parents | 68a7dd38c03c |
children |
line wrap: on
line source
interface Iin { void[] read(size_t n); } interface Iout { size_t write(void[] d); } class C : Iin { void[] read(size_t n) { return null; } size_t write(void[] d) { return 0; } } void main() { scope c = new C; }