-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #8691 - flip1995:infinite_recursion_only_in_recursion, …
…r=llogiq Prevent infinite (exponential) recursion in only_used_in_recursion This simplifies the visitor code a bit and prevents checking expressions multiple times. I still think this lint should be removed for now, because its code isn't really tested. Fixes #8689 **NOTE:** Before merging this, we should talk about removing and revisiting this lint. See my comment in #8689 changelog: prevent infinite recursion in [`only_used_in_recursion`]
- Loading branch information
Showing
1 changed file
with
16 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters