Commit 9c9b5c9
lifetimes: Reuse heap in another test
Summary:
`Eq` and `PartialEq` are only implemented for two `Value<'v>`s, not for one `Value<'v1>` and one `Value<'v2>`, but this test was comparing values coming from two different heaps.
We could actually consider changing the eq behavior to allow this, but that would in turn require changing the signature on all `StarlarkValue`s and this doesn't seem like good motivation yet.
Reviewed By: ship-it-ship-it
Differential Revision: D90475052
fbshipit-source-id: 4b3c8b70e5ae1b6db37c55f39262c39efd44b1471 parent 1e04e8c commit 9c9b5c9
1 file changed
+10
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
572 | 572 | | |
573 | 573 | | |
574 | 574 | | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
582 | 583 | | |
583 | 584 | | |
584 | 585 | | |
| |||
587 | 588 | | |
588 | 589 | | |
589 | 590 | | |
590 | | - | |
591 | | - | |
592 | | - | |
| 591 | + | |
| 592 | + | |
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
| |||
0 commit comments