Describe the bug
Cannot identify declaration of Type element when there are multiple spaces between its name and the 'As' keyword.
To Reproduce
Steps to reproduce the behavior:
See example code below
In the line with the Debug.Print statement, press F12 on value1 and the declaration is found ... however, press F12 on value2 and the declaration is not found with a message saying "Could not find the declaration for 'value2'"
Type MyType
value1 As Long
value2 As Long
End Type
Sub Foo()
Dim t As MyType
Debug.Print t.value1, t.value2
End Sub
Expected behavior
The declaration for value2 should be found, the same as it is for value1
Please complete the following information:
v0.9.1.2 [Debug], build 25 Jun 2022 15:37:43
LGF: v2.0.3.0
LGS: v2.2.7.0
LFF: v3.4.8.0
.NET Framework 4.8.4515.0
CLR: v4.0.30319
Microsoft Windows 10.0.19043 : X64
Excel 365 (16.0, 15225, WIN64, VBA7)
VBE 7.01
UI Lang: en-US
Host: EXCEL.EXE v16.0.15225.20288
Describe the bug Cannot identify declaration of Type element when there are multiple spaces between its name and the 'As' keyword.
To Reproduce Steps to reproduce the behavior:
Debug.Print
statement, press F12 onvalue1
and the declaration is found ... however, press F12 onvalue2
and the declaration is not found with a message saying "Could not find the declaration for 'value2'"Expected behavior The declaration for
value2
should be found, the same as it is forvalue1
Please complete the following information: v0.9.1.2 [Debug], build 25 Jun 2022 15:37:43 LGF: v2.0.3.0 LGS: v2.2.7.0 LFF: v3.4.8.0 .NET Framework 4.8.4515.0 CLR: v4.0.30319 Microsoft Windows 10.0.19043 : X64 Excel 365 (16.0, 15225, WIN64, VBA7) VBE 7.01 UI Lang: en-US Host: EXCEL.EXE v16.0.15225.20288