Skip to content

Introduce PredicateMemoization cop

Lin Jen-Shin requested to merge 41731-predicate-memoization into master

What does this MR do?

  • Introduce PredicateMemoization cop
  • Fix offenses. Clearly some of the ||= is worthless before this patch

Why was this MR needed?

Apparently this is pretty easy to miss! @stanhu awesome suggestion!

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #41731 (closed)

Edited by Lin Jen-Shin

Merge request reports

Loading