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 d374061 + 0339fd6 commit f9c63a0Copy full SHA for f9c63a0
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