liligga (Igor Grebennikov)
- Login: liligga
- Email: ig.g.like@gmail.com
- Registered on: 08/26/2014
- Last sign in: 08/26/2014
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
08/27/2014
-
05:00 AM Ruby Bug #10170: Core dumped when using recursion in define_method
- Okay, ruby 2.1.2 gives everytime
`abort (core dumped)`
for
`A.new.a`
in pry, irb and `ruby -e 'class A; define_method :a do; a; end; end; A.new.a'`
-
03:09 AM Ruby Bug #10170: Core dumped when using recursion in define_method
- Initial issue is wrong a little.
So if we have this
> ~~~ruby
> ...
when calling in irb
> ~~~ruby
> ...
or in pry
> ~~~ruby
> ...
gives
segmentation fault (core dumped)
But
`ruby -e 'class A; define_method :a do; a; end; e... -
02:52 AM Ruby Bug #10170 (Closed): Core dumped when using recursion in define_method
- So if we have this
```ruby
class A
define_method :a do
a
end
end
```
and call `A.new.a` we got `SystemStackError`
but with alias
```ruby
class A
define_method :a do
a
end
end
```
when calling
...