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.
1 parent 46f5119 commit 989b69fCopy full SHA for 989b69f
lib/IDE/CodeCompletion.cpp
@@ -1441,8 +1441,12 @@ bool CodeCompletionCallbacksImpl::trySolverCompletion(bool MaybeFuncBody) {
1441
// switch case where there control expression is invalid). Having normal
1442
// typechecking still resolve even these cases would be beneficial for
1443
// tooling in general though.
1444
- if (!Lookup.gotCallback())
+ if (!Lookup.gotCallback()) {
1445
+ if (Context.TypeCheckerOpts.DebugConstraintSolver) {
1446
+ llvm::errs() << "--- Fallback typecheck for code completion ---\n";
1447
+ }
1448
Lookup.fallbackTypeCheck(CurDeclContext);
1449
1450
};
1451
1452
switch (Kind) {
0 commit comments