[Vala] compiler crash with delegates



Hey,

I've written some code that crashes the compiler:

class Foo<T> {
  public delegate void del(T t);
  public del bla() {
    return y => {};
  }
}

Clearly this is a compiler bug, but it still makes me wonder: is it *just* a compiler bug, or is there also 
something wrong with the code itself?

Cheers,
Matthias


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]