Skip to content

Bug with module#prepend in ruby 2.0.0#1398

Merged
kyrylo merged 1 commit intopry:masterfrom
jbarreneche:bug/module-prepend-whereami
Jun 29, 2015
Merged

Bug with module#prepend in ruby 2.0.0#1398
kyrylo merged 1 commit intopry:masterfrom
jbarreneche:bug/module-prepend-whereami

Conversation

@jbarreneche
Copy link
Copy Markdown
Contributor

Hi, I found a bug when using binding.pry inside a method that is wrapped with a prepended method.

I'm not sure if the obtained behaviour is correct (the whereami title ends up being the module instead of the class instance), but at least fixes the infinite loop bug and provides a the minimum case to reproduce the loop.

Please let me know, if there's another way to fix it, and I can give it a try at doing it.

Thanks!

kyrylo added a commit that referenced this pull request Jun 29, 2015
@kyrylo kyrylo merged commit 271212d into pry:master Jun 29, 2015
@kyrylo
Copy link
Copy Markdown
Member

kyrylo commented Jun 29, 2015

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants