Skip to content

Commit 71b15e9

Browse files
committed
[AST] Improve ErrorType handling in TypeBase::getMemberSubstitutions()
Historical note: a similar change was made in 0033bda.
1 parent 3e5ce67 commit 71b15e9

File tree

103 files changed

+113
-103
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+113
-103
lines changed

lib/AST/Type.cpp

+11-1
Original file line numberDiff line numberDiff line change
@@ -2517,7 +2517,17 @@ TypeSubstitutionMap TypeBase::getMemberSubstitutions(DeclContext *dc) {
25172517
}
25182518

25192519
// Continue looking into the parent.
2520-
baseTy = baseTy->castTo<NominalType>()->getParent();
2520+
auto nominalTy = baseTy->getAs<NominalType>();
2521+
if (!nominalTy || nominalTy->is<ErrorType>()) {
2522+
baseTy = nullptr;
2523+
break;
2524+
}
2525+
2526+
baseTy = nominalTy->getParent();
2527+
if (!baseTy || baseTy->is<ErrorType>()) {
2528+
baseTy = nullptr;
2529+
break;
2530+
}
25212531
}
25222532

25232533
return substitutions;

validation-test/compiler_crashers/24900-swift-typebase-getmembersubstitutions.swift renamed to validation-test/compiler_crashers_fixed/24900-swift-typebase-getmembersubstitutions.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/25329-swift-typebase-getmembersubstitutions.swift renamed to validation-test/compiler_crashers_fixed/25329-swift-typebase-getmembersubstitutions.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/25704-vtable.swift renamed to validation-test/compiler_crashers_fixed/25704-vtable.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/26096-llvm-errs.swift renamed to validation-test/compiler_crashers_fixed/26096-llvm-errs.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26112-swift-genericsignature-get.swift renamed to validation-test/compiler_crashers_fixed/26112-swift-genericsignature-get.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26118-swift-lexer-leximpl.swift renamed to validation-test/compiler_crashers_fixed/26118-swift-lexer-leximpl.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26130-swift-tupletype-get.swift renamed to validation-test/compiler_crashers_fixed/26130-swift-tupletype-get.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26143-swift-declattribute-canattributeappearondeclkind.swift renamed to validation-test/compiler_crashers_fixed/26143-swift-declattribute-canattributeappearondeclkind.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26147-llvm-foldingset-swift-classtype-nodeequals.swift renamed to validation-test/compiler_crashers_fixed/26147-llvm-foldingset-swift-classtype-nodeequals.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26164-std-function-func-swift-type-subst.swift renamed to validation-test/compiler_crashers_fixed/26164-std-function-func-swift-type-subst.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26165-swift-diagnosticengine-emitdiagnostic.swift renamed to validation-test/compiler_crashers_fixed/26165-swift-diagnosticengine-emitdiagnostic.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26166-swift-printingdiagnosticconsumer-handlediagnostic.swift renamed to validation-test/compiler_crashers_fixed/26166-swift-printingdiagnosticconsumer-handlediagnostic.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26168-swift-modulefile-maybereadpattern.swift renamed to validation-test/compiler_crashers_fixed/26168-swift-modulefile-maybereadpattern.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26172-swift-modulefile-lookupvalue.swift renamed to validation-test/compiler_crashers_fixed/26172-swift-modulefile-lookupvalue.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26173-swift-typechecker-validatedecl.swift renamed to validation-test/compiler_crashers_fixed/26173-swift-typechecker-validatedecl.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26192-swift-maybeaddaccessorstovariable.swift renamed to validation-test/compiler_crashers_fixed/26192-swift-maybeaddaccessorstovariable.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26201-swift-astcontext-allocate.swift renamed to validation-test/compiler_crashers_fixed/26201-swift-astcontext-allocate.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26228-void.swift renamed to validation-test/compiler_crashers_fixed/26228-void.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26242-swift-typechecker-validatedecl.swift renamed to validation-test/compiler_crashers_fixed/26242-swift-typechecker-validatedecl.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26274-swift-typebase-getanyoptionalobjecttype.swift renamed to validation-test/compiler_crashers_fixed/26274-swift-typebase-getanyoptionalobjecttype.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26278-swift-conformancelookuptable-updatelookuptable.swift renamed to validation-test/compiler_crashers_fixed/26278-swift-conformancelookuptable-updatelookuptable.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26318-swift-substitutedtype-get.swift renamed to validation-test/compiler_crashers_fixed/26318-swift-substitutedtype-get.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26344-swift-parser-parseexprclosure.swift renamed to validation-test/compiler_crashers_fixed/26344-swift-parser-parseexprclosure.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26377-swift-astcontext-allocate.swift renamed to validation-test/compiler_crashers_fixed/26377-swift-astcontext-allocate.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26430-swift-expr-walk.swift renamed to validation-test/compiler_crashers_fixed/26430-swift-expr-walk.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26473-swift-constraints-constraint-constraint.swift renamed to validation-test/compiler_crashers_fixed/26473-swift-constraints-constraint-constraint.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26507-swift-sourcemanager-extracttext.swift renamed to validation-test/compiler_crashers_fixed/26507-swift-sourcemanager-extracttext.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26516-swift-boundgenerictype-get.swift renamed to validation-test/compiler_crashers_fixed/26516-swift-boundgenerictype-get.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26538-swift-parser-parsegetsetimpl.swift renamed to validation-test/compiler_crashers_fixed/26538-swift-parser-parsegetsetimpl.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26555-swift-typechecker-checkgenericarguments.swift renamed to validation-test/compiler_crashers_fixed/26555-swift-typechecker-checkgenericarguments.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26587-swift-typechecker-computeaccessibility.swift renamed to validation-test/compiler_crashers_fixed/26587-swift-typechecker-computeaccessibility.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26673-llvm-triple-getosname.swift renamed to validation-test/compiler_crashers_fixed/26673-llvm-triple-getosname.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26686-swift-substitutedtype-get.swift renamed to validation-test/compiler_crashers_fixed/26686-swift-substitutedtype-get.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26706-swift-constraints-constraintgraphscope-constraintgraphscope.swift renamed to validation-test/compiler_crashers_fixed/26706-swift-constraints-constraintgraphscope-constraintgraphscope.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26720-void.swift renamed to validation-test/compiler_crashers_fixed/26720-void.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26756-swift-unqualifiedlookup-unqualifiedlookup.swift renamed to validation-test/compiler_crashers_fixed/26756-swift-unqualifiedlookup-unqualifiedlookup.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26803-swift-parser-skipsingle.swift renamed to validation-test/compiler_crashers_fixed/26803-swift-parser-skipsingle.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22
// Distributed under the terms of the MIT license
33
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
44
// Test case found by fuzzing

validation-test/compiler_crashers/26859-swift-classdecl-classdecl.swift renamed to validation-test/compiler_crashers_fixed/26859-swift-classdecl-classdecl.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/26945-swift-typebase-getmembersubstitutions.swift renamed to validation-test/compiler_crashers_fixed/26945-swift-typebase-getmembersubstitutions.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/26997-swift-stmt-walk.swift renamed to validation-test/compiler_crashers_fixed/26997-swift-stmt-walk.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27033-swift-mangle-mangler-mangleidentifier.swift renamed to validation-test/compiler_crashers_fixed/27033-swift-mangle-mangler-mangleidentifier.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27070-no-stacktrace.swift renamed to validation-test/compiler_crashers_fixed/27070-no-stacktrace.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27093-swift-constraints-constraintsystem-solve.swift renamed to validation-test/compiler_crashers_fixed/27093-swift-constraints-constraintsystem-solve.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27116-swift-constraints-constraintgraph-unbindtypevariable.swift renamed to validation-test/compiler_crashers_fixed/27116-swift-constraints-constraintgraph-unbindtypevariable.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27130-swift-typechecker-validatetype.swift renamed to validation-test/compiler_crashers_fixed/27130-swift-typechecker-validatetype.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27317-swift-genericparamlist-addnestedarchetypes.swift renamed to validation-test/compiler_crashers_fixed/27317-swift-genericparamlist-addnestedarchetypes.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27323-swift-constraints-constraintgraph-addconstraint.swift renamed to validation-test/compiler_crashers_fixed/27323-swift-constraints-constraintgraph-addconstraint.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27335-swift-constraints-constraintsystem-assignfixedtype.swift renamed to validation-test/compiler_crashers_fixed/27335-swift-constraints-constraintsystem-assignfixedtype.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27339-llvm-foldingset-swift-tupletype-nodeequals.swift renamed to validation-test/compiler_crashers_fixed/27339-llvm-foldingset-swift-tupletype-nodeequals.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27340-swift-constraints-constraintsystem-simplifytype.swift renamed to validation-test/compiler_crashers_fixed/27340-swift-constraints-constraintsystem-simplifytype.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27341-swift-conformancelookuptable-getallprotocols.swift renamed to validation-test/compiler_crashers_fixed/27341-swift-conformancelookuptable-getallprotocols.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27399-swift-constraints-constraintsystem-getfixedtyperecursive.swift renamed to validation-test/compiler_crashers_fixed/27399-swift-constraints-constraintsystem-getfixedtyperecursive.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27403-swift-typechecker-resolveinheritanceclause.swift renamed to validation-test/compiler_crashers_fixed/27403-swift-typechecker-resolveinheritanceclause.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27405-swift-constraints-constraintsystem-simplifyconstraint.swift renamed to validation-test/compiler_crashers_fixed/27405-swift-constraints-constraintsystem-simplifyconstraint.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27409-llvm-foldingset-swift-enumtype-nodeequals.swift renamed to validation-test/compiler_crashers_fixed/27409-llvm-foldingset-swift-enumtype-nodeequals.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27412-swift-typechecker-validatedecl.swift renamed to validation-test/compiler_crashers_fixed/27412-swift-typechecker-validatedecl.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27428-swift-diagnosticengine-emitdiagnostic.swift renamed to validation-test/compiler_crashers_fixed/27428-swift-diagnosticengine-emitdiagnostic.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27431-swift-constraints-constraintsystem-finalize.swift renamed to validation-test/compiler_crashers_fixed/27431-swift-constraints-constraintsystem-finalize.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27434-swift-parser-diagnose.swift renamed to validation-test/compiler_crashers_fixed/27434-swift-parser-diagnose.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

validation-test/compiler_crashers/27473-swift-inflightdiagnostic.swift renamed to validation-test/compiler_crashers_fixed/27473-swift-inflightdiagnostic.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not --crash %target-swift-frontend %s -parse
1+
// RUN: not %target-swift-frontend %s -parse
22

33
// Distributed under the terms of the MIT license
44
// Test case submitted to project by https://github.com/practicalswift (practicalswift)

0 commit comments

Comments
 (0)