We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 80e2b48 + 4b1ffa5 commit f155ce8Copy full SHA for f155ce8
lib/AST/NameLookup.cpp
@@ -1331,6 +1331,12 @@ DirectLookupRequest::evaluate(Evaluator &evaluator,
1331
1332
decl->prepareLookupTable();
1333
1334
+ // If we're allowed to load extensions, call prepareExtensions to ensure we
1335
+ // properly invalidate the lazily-complete cache for any extensions brought in
1336
+ // by modules loaded after-the-fact. This can happen with the LLDB REPL.
1337
+ if (!disableAdditionalExtensionLoading)
1338
+ decl->prepareExtensions();
1339
+
1340
auto &Table = *decl->LookupTable;
1341
if (!useNamedLazyMemberLoading) {
1342
// Make sure we have the complete list of members (in this nominal and in
0 commit comments