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) {
19211921// / Also see simplifyCurrentTypeWitnesses().
19221922static Type getWitnessTypeForMatching (NormalProtocolConformance *conformance,
19231923 ValueDecl *witness) {
1924- if (witness->isRecursiveValidation ())
1924+ if (witness->isRecursiveValidation ()) {
1925+ LLVM_DEBUG (llvm::dbgs () << " Recursive validation\n " ;);
19251926 return Type ();
1927+ }
19261928
1927- if (witness->isInvalid ())
1929+ if (witness->isInvalid ()) {
1930+ LLVM_DEBUG (llvm::dbgs () << " Invalid witness\n " ;);
19281931 return Type ();
1932+ }
19291933
19301934 if (!witness->getDeclContext ()->isTypeContext ()) {
19311935 // FIXME: Could we infer from 'Self' to make these work?
You can’t perform that action at this time.
0 commit comments