Skip to content

Commit 2fe9ab9

Browse files
committed
Fix comments
1 parent 56165d1 commit 2fe9ab9

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

Rubberduck.CodeAnalysis/Inspections/Concrete/SetAssignmentWithIncompatibleObjectTypeInspection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class SetAssignmentWithIncompatibleObjectTypeInspection : InspectionBase
2727
/// <why>
2828
/// The VBA compiler does not check whether different object types are compatible. Instead there is a runtime error whenever the types are incompatible.
2929
/// </why>
30-
/// <example>
30+
/// <example hasResult="true">
3131
/// <![CDATA[
3232
/// IInterface:
3333
///
@@ -54,7 +54,7 @@ public class SetAssignmentWithIncompatibleObjectTypeInspection : InspectionBase
5454
/// End Sub
5555
/// ]]>
5656
/// </example>
57-
/// <example>
57+
/// <example hasResult="false">
5858
/// <![CDATA[
5959
/// IInterface:
6060
///

Rubberduck.Parsing/TypeResolvers/SetTypeResolver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ private Declaration ResolveIndexExpressionAsDefaultMemberAccess(VBAParser.LExpre
211211
//Please note that the lExpression is the (whitespace) index expression itself and not the lExpression it contains.
212212
private Declaration ResolveIndexExpressionAsArrayAccess(VBAParser.LExpressionContext actualIndexExpr, QualifiedModuleName containingModule, DeclarationFinder finder)
213213
{
214-
// A n array access references the entire (whitespace)indexExpr.
214+
// An array access references the entire (whitespace)indexExpr.
215215
var qualifiedSelection = new QualifiedSelection(containingModule, actualIndexExpr.GetSelection());
216216
return finder
217217
.IdentifierReferences(qualifiedSelection)

Rubberduck.Resources/Inspections/InspectionNames.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Rubberduck.Resources/Inspections/InspectionNames.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@
387387
<value>Use of obsolete 'While...Wend' statement</value>
388388
</data>
389389
<data name="SetAssignmentWithIncompatibleObjectTypeInspection" xml:space="preserve">
390-
<value>Set Assignment With Incompatible Object Type</value>
390+
<value>Set assignment with incompatible object type</value>
391391
</data>
392392
<data name="EmptyMethodInspection" xml:space="preserve">
393393
<value>Empty method</value>

RubberduckTests/Inspections/ObjectVariableNotSetInspectionTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,6 @@ Dim enumVariable As TestEnum
306306
// when it was loaded by the COM collector (_Collection is missing the default interface flag). After picking up that member
307307
// this test fails because it resolves as attempting to assign 'New Collection' to `Test.DefaultMember`.
308308
[Test]
309-
//[Ignore("Broken by COM collector fix. See comment on test.")]
310309
[Category("Inspections")]
311310
public void ObjectVariableNotSet_FunctionReturnNotSet_ReturnsResult()
312311
{

0 commit comments

Comments
 (0)