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 b66dacd commit b1f162fCopy full SHA for b1f162f
RetailCoder.VBE/Common/DeclarationExtensions.cs
@@ -79,7 +79,7 @@ public static bool HasMultipleDeclarationsInStatement(this Declaration target)
79
80
var statement = target.Context.Parent as VBAParser.VariableListStmtContext;
81
82
- return statement != null && statement.children.OfType<VBAParser.VariableSubStmtContext>().Any();
+ return statement != null && statement.children.OfType<VBAParser.VariableSubStmtContext>().Count() > 1;
83
}
84
85
/// <summary>
0 commit comments