diff options
| author | sdottaka <[email protected]> | 2014-12-12 23:05:22 +0900 |
|---|---|---|
| committer | sdottaka <[email protected]> | 2014-12-12 23:05:22 +0900 |
| commit | fe01ce5b02de28dcabb7cd6031133bf9e9bf979f (patch) | |
| tree | 62019e8cc616dfe4244559e7357ba6d05161b1a9 /mrbgems/mruby-string-ext/src/string.c | |
| parent | 4078670bcaf47c13738e611b67678cbe6643c185 (diff) | |
| download | mruby-fe01ce5b02de28dcabb7cd6031133bf9e9bf979f.tar.gz mruby-fe01ce5b02de28dcabb7cd6031133bf9e9bf979f.zip | |
Fix crash if #inspect does not return a string value
case 1
~~~
class A; def inspect; 1; end; end
A.new.a
~~~
case 2
~~~
class A
def self.inspect
1
end
alias_method :a, :b
end
~~~
Diffstat (limited to 'mrbgems/mruby-string-ext/src/string.c')
0 files changed, 0 insertions, 0 deletions
