On Wed, Jul 19, 2017 at 7:09 PM, Stefan Koch via Digitalmars-d <digitalmars-d@puremagic.com> wrote:

What happens is this.

void open()
{
  foo = () {
  Foo _tmp = Foo.__ctor("test");
  return _tmp;
  } ();
}


Error: need 'this' for 'this' of type 'ref Foo(string s)'