Commit ef52d29
Add TypeCombinatorTest cases for object shape intersection edge cases
Tests for: object{foo: int}&object{foo?: int}, object{foo: int}&object{foo: int|null},
object{foo: int}&object{foo?: int|null}, object{foo: int}&object{bar?: int},
and object{foo: int}&object{foo?: string}.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent bc8479f commit ef52d29
1 file changed
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4619 | 4619 | | |
4620 | 4620 | | |
4621 | 4621 | | |
| 4622 | + | |
| 4623 | + | |
| 4624 | + | |
| 4625 | + | |
| 4626 | + | |
| 4627 | + | |
| 4628 | + | |
| 4629 | + | |
| 4630 | + | |
| 4631 | + | |
| 4632 | + | |
| 4633 | + | |
| 4634 | + | |
| 4635 | + | |
| 4636 | + | |
| 4637 | + | |
| 4638 | + | |
| 4639 | + | |
| 4640 | + | |
| 4641 | + | |
| 4642 | + | |
| 4643 | + | |
| 4644 | + | |
| 4645 | + | |
| 4646 | + | |
| 4647 | + | |
| 4648 | + | |
| 4649 | + | |
| 4650 | + | |
| 4651 | + | |
| 4652 | + | |
| 4653 | + | |
| 4654 | + | |
| 4655 | + | |
| 4656 | + | |
| 4657 | + | |
| 4658 | + | |
| 4659 | + | |
| 4660 | + | |
| 4661 | + | |
4622 | 4662 | | |
4623 | 4663 | | |
4624 | 4664 | | |
| |||
0 commit comments