Commit 32a7afc
committed
[CSBindings] Let key path subscript index be bound to existential in diagnostic mode
This parameter doesn't allow direct holes because it always replies
on the contextual type (if it's not present the hole should be
propagated to it), so if we know that the argument is some invalid
existential value (one without a superclass) let's allow binding to
it only in diagnostic mode which would be detected and diagnosed as
a contextual mismatch.1 parent d6f9f1c commit 32a7afc
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1437 | 1437 | | |
1438 | 1438 | | |
1439 | 1439 | | |
1440 | | - | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
1441 | 1446 | | |
1442 | 1447 | | |
1443 | | - | |
1444 | | - | |
1445 | | - | |
1446 | 1448 | | |
1447 | 1449 | | |
1448 | 1450 | | |
| |||
0 commit comments