SIGN IN SIGN UP

[compiler] Fix <ValidateMemoization> (#33547)

By accident we were only ever checking the compiled output, but the
intention was in general to be able to compare memoization with/without
forget.

---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/33547).
* #33571
* #33558
* __->__ #33547
J
Joseph Savona committed
3a2ff8b51b5ab54c22f55a5f826c53419f718887
Parent: cc38063
Committed by GitHub <noreply@github.com> on 6/18/2025, 11:00:36 PM