mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
proc_lambda should return blk instead of self.
This commit is contained in:
+1
-1
@@ -137,7 +137,7 @@ proc_lambda(mrb_state *mrb, mrb_value self)
|
||||
p2->flags |= MRB_PROC_STRICT;
|
||||
return mrb_obj_value(p2);
|
||||
}
|
||||
return self;
|
||||
return blk;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user