mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-24 12:51:56 +01:00
Started seperating type resolution from the rest of codegen again, the merge had too many regressions.
This commit is contained in:
13
tests/mini/compile_delegate.d
Normal file
13
tests/mini/compile_delegate.d
Normal file
@@ -0,0 +1,13 @@
|
||||
class A(T)
|
||||
{
|
||||
void foo(void delegate (T) d) {}
|
||||
|
||||
void bar()
|
||||
{
|
||||
foo(delegate void (T t) {});
|
||||
}
|
||||
}
|
||||
|
||||
class B: A!(B) {}
|
||||
|
||||
class C: A!(C) {}
|
||||
Reference in New Issue
Block a user