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.
IDEInspectionSecondPassRequest
parserState
1 parent d6f8d8c commit 8d1c1bfCopy full SHA for 8d1c1bf
lib/Parse/Parser.cpp
@@ -116,7 +116,7 @@ bool IDEInspectionSecondPassRequest::evaluate(
116
IDEInspectionCallbacksFactory *Factory) const {
117
// If we didn't find the code completion token, bail.
118
auto *parserState = SF->getDelayedParserState();
119
- if (!parserState->hasIDEInspectionDelayedDeclState())
+ if (!parserState || !parserState->hasIDEInspectionDelayedDeclState())
120
return true;
121
122
// Decrement the closure discriminator index by one so a top-level closure
0 commit comments