Commit a1d98b9
Summary:
Fixes #2608
Implemented narrowing for a in mapping by intersecting the LHS with the mapping key type. This fixes not in branches by negation.
Pull Request resolved: #2627
Test Plan: add test
Reviewed By: rchen152
Differential Revision: D95416263
Pulled By: yangdanny97
fbshipit-source-id: d016249a6eb9075ed5593d78e9f63607e1f8aba3
1 parent 5a24e5d commit a1d98b9
2 files changed
+25
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
901 | 901 | | |
902 | 902 | | |
903 | 903 | | |
904 | | - | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
905 | 913 | | |
906 | 914 | | |
907 | 915 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1662 | 1662 | | |
1663 | 1663 | | |
1664 | 1664 | | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
1665 | 1681 | | |
1666 | 1682 | | |
1667 | 1683 | | |
| |||
0 commit comments