Project

General

Profile

Backport #11646

Please backport r51713

Added by deivid (David Rodríguez) about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
[ruby-core:71299]

Description

Hi! I requested this in the original issue, but I happened to read this: https://bugs.ruby-lang.org/projects/ruby/wiki/HowToRequestBackport, so I'm doing it the official way.

Could you please backport https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/51713 to 2.1?

Thanks!


Related issues

Related to Ruby master - Bug #11492: TracePoint API report extra return for defined methodClosedActions

Associated revisions

Revision bc090868
Added by usa (Usaku NAKAMURA) almost 4 years ago

merge revision(s) 51713: [Backport #11492] [Backport #11646]

    * vm.c (hook_before_rewind): prevent kicking :return event while
      finishing vm_exec func because invoke_block_from_c() kick a :return
      event for bmethods.
      [Bug #11492]

    * test/ruby/test_settracefunc.rb: add a test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@52639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 52639
Added by usa (Usaku NAKAMURA) almost 4 years ago

merge revision(s) 51713: [Backport #11492] [Backport #11646]

* vm.c (hook_before_rewind): prevent kicking :return event while
  finishing vm_exec func because invoke_block_from_c() kick a :return
  event for bmethods.
  [Bug #11492]

* test/ruby/test_settracefunc.rb: add a test.

History

#1

Updated by usa (Usaku NAKAMURA) about 4 years ago

  • Related to Bug #11492: TracePoint API report extra return for defined method added

Updated by usa (Usaku NAKAMURA) about 4 years ago

Thank you for reminding.
I can not promise to backport, because the implementation of this feature is greatly changed in trunk after 2.1.
I will try it in the near future.

Updated by deivid (David Rodríguez) about 4 years ago

Thanks to you for trying! :)

#4

Updated by usa (Usaku NAKAMURA) almost 4 years ago

  • Status changed from Open to Closed

Applied in changeset r52639.


merge revision(s) 51713: [Backport #11492] [Backport #11646]

* vm.c (hook_before_rewind): prevent kicking :return event while
  finishing vm_exec func because invoke_block_from_c() kick a :return
  event for bmethods.
  [Bug #11492]

* test/ruby/test_settracefunc.rb: add a test.

Also available in: Atom PDF