Commit 5350b96
committed
Use the Correct DeclContext When Simplifying Member Constraints
Looking for the parent source file is going to fail when the paramter
we're interested in comes from a module context. Request the correct
top-level context in those situations.
rdar://733797701 parent d864e95 commit 5350b96
File tree
2 files changed
+11
-3
lines changed- lib/Sema
- validation-test/compiler_crashers_2_fixed
2 files changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7472 | 7472 | | |
7473 | 7473 | | |
7474 | 7474 | | |
7475 | | - | |
| 7475 | + | |
7476 | 7476 | | |
7477 | | - | |
| 7477 | + | |
7478 | 7478 | | |
7479 | | - | |
| 7479 | + | |
7480 | 7480 | | |
7481 | 7481 | | |
7482 | 7482 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments