mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #2546 from cubicdaiya/issues/emptylines
Remove empty lines.
This commit is contained in:
@@ -13,7 +13,7 @@ get_closure_irep(mrb_state *mrb, int level)
|
||||
if (level == 0) {
|
||||
return mrb->c->ci[-1].proc->body.irep;
|
||||
}
|
||||
|
||||
|
||||
while (--level) {
|
||||
e = (struct REnv*)e->c;
|
||||
if (!e) return NULL;
|
||||
|
||||
+1
-1
@@ -1944,7 +1944,7 @@ mrb_mod_module_function(mrb_state *mrb, mrb_value mod)
|
||||
int ai;
|
||||
|
||||
mrb_check_type(mrb, mod, MRB_TT_MODULE);
|
||||
|
||||
|
||||
mrb_get_args(mrb, "*", &argv, &argc);
|
||||
if(argc == 0) {
|
||||
/* set MODFUNC SCOPE if implemented */
|
||||
|
||||
+1
-1
@@ -528,7 +528,7 @@ assert('Module#module_function') do
|
||||
def modfunc; end
|
||||
module_function :modfunc
|
||||
end
|
||||
|
||||
|
||||
assert_true M.respond_to?(:modfunc)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user