File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
validation-test/compiler_crashers_2_fixed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1684,6 +1684,8 @@ class ApplyClassifier {
1684
1684
const bool hasAnyConformances =
1685
1685
llvm::any_of (substitutions.getConformances (),
1686
1686
[](const ProtocolConformanceRef conformance) {
1687
+ if (conformance.isInvalid ())
1688
+ return false ;
1687
1689
auto *requirement = conformance.getProtocol ();
1688
1690
return !requirement->getInvertibleProtocolKind ();
1689
1691
});
Original file line number Diff line number Diff line change 1
1
// {"signature":"swift::ProtocolConformanceRef::getProtocol() const"}
2
- // RUN: not --crash %target-swift-frontend -typecheck %s
2
+ // RUN: not %target-swift-frontend -typecheck %s
3
3
func a< each b {
4
4
enum c {
5
5
case struct var d : e struct e {
You can’t perform that action at this time.
0 commit comments