Skip to content

Commit a9d46ae

Browse files
committed
Provide unique names to avoid duplicate triggering from other files
1 parent 3ae9fee commit a9d46ae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/fixtures/Diagnostics.bas

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ Attribute VB_Foo = False
55

66
Option Explicit
77

8-
Public Sub Foo()
8+
Public Sub UniqueNameFoo()
99
Dim i As Long
1010
While True
1111
i = i ++ 1
1212
i = i <> 1
1313
Wend
1414
End Sub
1515

16-
Sub Identifier()
17-
Attribute Identifier.VB_Description = "Dosctring."
18-
Attribute Identifier.VB_Description = "Dosctring."
16+
Sub UniqueNameIdentifier()
17+
Attribute UniqueNameIdentifier.VB_Description = "Dosctring."
18+
Attribute UniqueNameIdentifier.VB_Description = "Dosctring."
1919
' Dosctring.
2020
'
2121
' Args:
@@ -25,7 +25,7 @@ Attribute Identifier.VB_Description = "Dosctring."
2525
'
2626
End Sub
2727

28-
Public Enum EnumFoo
28+
Public Enum UniqueNameEnumFoo
2929
Enum1
3030
Enum2
3131
Enum3

0 commit comments

Comments
 (0)