File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1921,11 +1921,15 @@ static Type getWithoutProtocolTypeAliases(Type type) {
1921
1921
// / Also see simplifyCurrentTypeWitnesses().
1922
1922
static Type getWitnessTypeForMatching (NormalProtocolConformance *conformance,
1923
1923
ValueDecl *witness) {
1924
- if (witness->isRecursiveValidation ())
1924
+ if (witness->isRecursiveValidation ()) {
1925
+ LLVM_DEBUG (llvm::dbgs () << " Recursive validation\n " ;);
1925
1926
return Type ();
1927
+ }
1926
1928
1927
- if (witness->isInvalid ())
1929
+ if (witness->isInvalid ()) {
1930
+ LLVM_DEBUG (llvm::dbgs () << " Invalid witness\n " ;);
1928
1931
return Type ();
1932
+ }
1929
1933
1930
1934
if (!witness->getDeclContext ()->isTypeContext ()) {
1931
1935
// FIXME: Could we infer from 'Self' to make these work?
You can’t perform that action at this time.
0 commit comments