Mercurial > projects > ldc
view tests/mini/compile_delegate.d @ 1373:551b01341728
Remove an incorrect attribute: `noalias` doesn't apply to struct types, even if
we prefer to think of that type as an array :(.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sun, 17 May 2009 02:22:21 +0200 |
parents | 3251ce06c820 |
children |
line wrap: on
line source
class A(T) { void foo(void delegate (T) d) {} void bar() { foo(delegate void (T t) {}); } } class B: A!(B) {} class C: A!(C) {}