Commit a7988b0
committed
[Diagnostics] Make sure extension type repr is available before using it
Before suggesting to add `where Self == ...` condition to the extension
of a protocol involved in a static member lookup, let's check whether
type repr is available and valid.
Resolves: rdar://780973871 parent e8d1a16 commit a7988b0
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7432 | 7432 | | |
7433 | 7433 | | |
7434 | 7434 | | |
7435 | | - | |
7436 | | - | |
7437 | | - | |
| 7435 | + | |
| 7436 | + | |
| 7437 | + | |
| 7438 | + | |
| 7439 | + | |
| 7440 | + | |
| 7441 | + | |
| 7442 | + | |
| 7443 | + | |
7438 | 7444 | | |
7439 | 7445 | | |
7440 | 7446 | | |
| |||
0 commit comments