#527 Func.curry with optional parameters

brian Wed 15 Apr 2009

This code is broken:

class Foo
{
  Void main()
  {
    #foo.func.curry([this]).call0
  }

  Void foo(Bool option := true) { echo(option) }
}

brian Wed 15 Apr 2009

Promoted to ticket #527 and assigned to brian

brian Sat 2 May 2009

Ticket resolved in 1.0.42

Fix CurryFunc.call to be a little smarter when original function is a method with default parameters.

Login or Signup to reply.