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 411d825 commit c7b7d38Copy full SHA for c7b7d38
Rubberduck.Parsing/VBA/ReferenceManagement/IdentifierReferenceResolver.cs
@@ -321,7 +321,10 @@ public void Resolve(VBAParser.SingleLineIfStmtContext context)
321
if (context.ifWithEmptyThen() != null)
322
{
323
ResolveDefault(context.ifWithEmptyThen().booleanExpression());
324
- ResolveListOrLabel(context.ifWithEmptyThen().singleLineElseClause().listOrLabel());
+ if (context.ifWithEmptyThen().singleLineElseClause() != null)
325
+ {
326
+ ResolveListOrLabel(context.ifWithEmptyThen().singleLineElseClause().listOrLabel());
327
+ }
328
}
329
else
330
0 commit comments