Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
ae283653
Commit
ae283653
authored
Aug 20, 2014
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:mruby/mruby
parents
e73a0913
399f88fa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
mrbgems/mruby-eval/src/eval.c
mrbgems/mruby-eval/src/eval.c
+1
-1
src/class.c
src/class.c
+1
-1
test/t/module.rb
test/t/module.rb
+1
-1
No files found.
mrbgems/mruby-eval/src/eval.c
View file @
ae283653
...
...
@@ -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
;
...
...
src/class.c
View file @
ae283653
...
...
@@ -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 */
...
...
test/t/module.rb
View file @
ae283653
...
...
@@ -528,7 +528,7 @@ assert('Module#module_function') do
def
modfunc
;
end
module_function
:modfunc
end
assert_true
M
.
respond_to?
(
:modfunc
)
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment