| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
`mrb_value` to make it consistent with mrb_const_defined; ref #2593
|
|
save and restore arena index to prevent arena overflow.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mrb_define_method setting mrb->proc_class for method proc
|
|
|
|
when class nothing
|
|
|
|
|
|
Class.new do not call `class_eval'
|
|
and set self for block argument
|
|
for block argument
|
|
|
|
that not have methods each other
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MRI:
"str" * "3"
=> TypeError: no implicit conversion of String into Integer
mruby:
"str" * "3"
=> TypeError: String can't be coerced into int
|
|
Accepting String value for mrb_get_args("i")
causes unintentional expression.
* `"str" * "3"` => `"strstrstr"`
This change prevents String->Integer conversion for mrb_get_args("i")
and fixes above problem.
See also:
https://github.com/mruby/mruby/issues/1903
|
|
|