Skip to content

Conversation

@mame
Copy link
Member

@mame mame commented Jun 4, 2025

In Ruby 3.5, Kernel#caller_location will not include <internal:xxx> frames. ruby/ruby#13238

To skip the internal frames, explicitly check if TracePoint#path is a internal path or not.

In Ruby 3.5, `Kernel#caller_location` will not include `<internal:xxx>`
frames. ruby/ruby#13238

To skip the internal frames, explicitly check if `TracePoint#path` is a
internal path or not.
@launchable-app
Copy link

launchable-app bot commented Jun 4, 2025

Tests Failed

✖️no tests failed ✔️377 tests passed(1 flake)

@mame mame marked this pull request as ready for review June 5, 2025 01:23
@ko1 ko1 merged commit b0ca87e into ruby:master Jun 5, 2025
32 checks passed
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