#2621 Closure Return Type Inference

go4 Thu 27 Jul

I have a bug at the following code:

|Str->Obj| func := |v| { return "Hi" }
echo(func(""))

It allow an explicit return keyword, but the return type can't be inferred.

Thanks.

Login or Signup to reply.