Commit 628af19
committed
AST: Fix -verify-generic-signatures mode to not violate requirement machine invariants
We can't feed resolved DependentMemberTypes into the Requirement Machine
since that will trigger an assertion if there is a missing conformance.
Instead, copy and paste some logic from GenericSignatureBuilder.cpp to
'erase' resolved DependentMemberTypes into unresolved DependentMemberTypes.1 parent d3c224b commit 628af19
File tree
2 files changed
+36
-3
lines changed- lib/AST
- test/Generics
2 files changed
+36
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
994 | 994 | | |
995 | 995 | | |
996 | 996 | | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
997 | 1030 | | |
998 | 1031 | | |
999 | 1032 | | |
| |||
1007 | 1040 | | |
1008 | 1041 | | |
1009 | 1042 | | |
1010 | | - | |
| 1043 | + | |
1011 | 1044 | | |
1012 | 1045 | | |
1013 | 1046 | | |
| |||
1043 | 1076 | | |
1044 | 1077 | | |
1045 | 1078 | | |
1046 | | - | |
| 1079 | + | |
1047 | 1080 | | |
1048 | 1081 | | |
1049 | 1082 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
0 commit comments