view tests/mini/compile_delegate.d @ 1553:f55ca8a1598c

Value::getNameStart and Value::getNameLength were removed
author Benjamin Kramer <benny.kra@gmail.com>
date Thu, 23 Jul 2009 20:34:35 +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) {}