Skip to content

Migrate some checks off buggy reimplementations of findEnclosingMethod (or TreePath-returning cousins) and onto standard APIs, fixing a bug in the existing standard API.#5919

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_933929826
Jun 27, 2026

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Migrate some checks off buggy reimplementations of findEnclosingMethod (or TreePath-returning cousins) and onto standard APIs, fixing a bug in the existing standard API.

(The bug in the standard API is that it looks for CLASS but not other kinds of "class trees.")

More generally, consolidate on ASTHelpers.findEnclosingMethod (or document why we can't).

…od` (or `TreePath`-returning cousins) and onto standard APIs, fixing a bug in the existing standard API.

(The bug in the standard API is that it looks for `CLASS` but not other kinds of "class trees.")

More generally, consolidate on `ASTHelpers.findEnclosingMethod` (or document why we can't).

PiperOrigin-RevId: 939096276
@copybara-service copybara-service Bot merged commit c62014a into master Jun 27, 2026
@copybara-service copybara-service Bot deleted the test_933929826 branch June 27, 2026 17:04
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.

1 participant