comparison tests/mini/compile_delegate.d @ 1192:3251ce06c820

Started seperating type resolution from the rest of codegen again, the merge had too many regressions.
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Fri, 03 Apr 2009 16:34:11 +0200
parents
children
comparison
equal deleted inserted replaced
1191:d68796be59fd 1192:3251ce06c820
1 class A(T)
2 {
3 void foo(void delegate (T) d) {}
4
5 void bar()
6 {
7 foo(delegate void (T t) {});
8 }
9 }
10
11 class B: A!(B) {}
12
13 class C: A!(C) {}