- 20 Dec, 2017 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Method look-up for `OP_SUPER` should start from the superclass of the `target_class` but if it fails, the look-up for `method_missing` should start from the class of the receiver. The following code explains the case: ```ruby class Bar def foo super end end class Foo<Bar def method_missing(mid, *) p mid end end ``` Foo.new.foo
-
Yukihiro "Matz" Matsumoto authored
Not from `ci->target_class` that may be switched using `class_eval` etc. fix #3899, fix #3906 We found out there is a mruby specific limitation that `super` may be screwed up when a method is defined in a module and `super` is called in the block with the target class switched (for example, `super` in `class_eval` block). Now we raise `RuntimeError` for such cases. The following code works in CRuby but not in mruby. ``` module M def foo "aaa".singleton_class.class_eval{super 2} end end class Foo def foo(*); end end class Bar<Foo include M end Bar.new.foo ```
-
- 18 Dec, 2017 11 commits
-
-
Yukihiro "Matz" Matsumoto authored
Add mruby-method
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
ksss authored
-
Yukihiro "Matz" Matsumoto authored
-
ksss authored
-
ksss authored
-
Yukihiro "Matz" Matsumoto authored
Implement IO#initialize_copy
-
- 17 Dec, 2017 1 commit
-
-
ksss authored
-
- 16 Dec, 2017 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 15 Dec, 2017 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 14 Dec, 2017 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Initialized mrb_io.is_socket
-
Hiroshi Mimaki authored
-
- 13 Dec, 2017 21 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
fix mkstemp implementation for MSVC
-
Yasuhiro Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Use IPPROTO enum values on WinSock.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Takeshi Watanabe authored
-
Takeshi Watanabe authored
-
Yukihiro "Matz" Matsumoto authored
Added mrbgem's summary.
-
Yukihiro "Matz" Matsumoto authored
fix locale message in mirb
-
Yukihiro "Matz" Matsumoto authored
Set protocol of AddrInfo
-
Yasuhiro Matsumoto authored
-
Hiroshi Mimaki authored
-
Hiroshi Mimaki authored
-
Hiroshi Mimaki authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
fix crash bug on Windows
-
Yukihiro "Matz" Matsumoto authored
Skip tests on Windows platform
-
Hiroshi Mimaki authored
-
Yasuhiro Matsumoto authored
-