diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-05-28 07:30:43 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-05-28 07:30:43 +0900 |
| commit | cefbc21e6762bada94612caea5a7c592cc4a2ad3 (patch) | |
| tree | 5e6db9179f54e8cb8c23b0d65ccfb39c52eb32bc /src/backtrace.c | |
| parent | d9c8626bb16109d3898acfa6aa1110ddb480e753 (diff) | |
| download | mruby-cefbc21e6762bada94612caea5a7c592cc4a2ad3.tar.gz mruby-cefbc21e6762bada94612caea5a7c592cc4a2ad3.zip | |
vm.c: skip actual `method_missing` call unless it's overridden.
So that `mruby -e 'a'` does not print backtrace history, i.e.
```
% mruby -e 'a'
-e:1: undefined method 'a' (NoMethodError)
```
Instead of
```
% mruby -e 'a'
trace (most recent call last):
[1] -e:1
-e:1: undefined method 'a' (NoMethodError)
```
Diffstat (limited to 'src/backtrace.c')
0 files changed, 0 insertions, 0 deletions
