@@ -437,21 +437,26 @@ import SwiftSyntax
437
437
438
438
return LookupResult . getResultArray ( for: self , withNames: implicitSelf)
439
439
+ [ . lookForGenericParameters( of: self ) ]
440
- + defaultLookupImplementation( identifier, at: lookUpPosition, with: config, propagateToParent: false )
441
- + [ . lookForMembers( in: Syntax ( self ) ) ]
442
- + lookupInParent( identifier, at: lookUpPosition, with: config)
440
+ + defaultLookupImplementation(
441
+ identifier,
442
+ at: lookUpPosition,
443
+ with: config,
444
+ cache: cache,
445
+ propagateToParent: false
446
+ ) + [ . lookForMembers( in: Syntax ( self ) ) ]
447
+ + lookupInParent( identifier, at: lookUpPosition, with: config, cache: cache)
443
448
} else if !extendedType. range. contains ( lookUpPosition) , let genericWhereClause {
444
449
if genericWhereClause. range. contains ( lookUpPosition) {
445
450
return [ . lookForGenericParameters( of: self ) ] + [ . lookForMembers( in: Syntax ( self ) ) ]
446
- + defaultLookupImplementation( identifier, at: lookUpPosition, with: config)
451
+ + defaultLookupImplementation( identifier, at: lookUpPosition, with: config, cache : cache )
447
452
}
448
453
449
454
return [ . lookForGenericParameters( of: self ) ]
450
- + defaultLookupImplementation( identifier, at: lookUpPosition, with: config)
455
+ + defaultLookupImplementation( identifier, at: lookUpPosition, with: config, cache : cache )
451
456
}
452
457
453
458
return [ . lookForGenericParameters( of: self ) ]
454
- + lookupInParent( identifier, at: lookUpPosition, with: config)
459
+ + lookupInParent( identifier, at: lookUpPosition, with: config, cache : cache )
455
460
}
456
461
}
457
462
0 commit comments