File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -467,15 +467,17 @@ Optional<Type> DefaultTypeRequest::getCachedResult() const {
467
467
if (!result)
468
468
return None;
469
469
assert (!isDependencyMissing (result) &&
470
- " Since the cache is now cached by SourceFile, the dependency should have been recorded when it was looked up." );
470
+ " Since the cache is now cached by SourceFile, the dependency should "
471
+ " have been recorded when it was looked up." );
471
472
return result;
472
473
}
473
474
474
475
bool DefaultTypeRequest::isDependencyMissing (Type result) const {
475
476
if (const auto *NTD = result->getNominalOrBoundGenericNominal ())
476
477
if (auto *SF = getSourceFile ())
477
478
if (auto *tracker = SF->getReferencedNameTracker ())
478
- return tracker->getTopLevelNames ().find (NTD->getBaseName ()) == tracker->getTopLevelNames ().end ();
479
+ return tracker->getTopLevelNames ().find (NTD->getBaseName ()) ==
480
+ tracker->getTopLevelNames ().end ();
479
481
return false ;
480
482
}
481
483
You can’t perform that action at this time.
0 commit comments