Skip to content

[Bug] Parsing broken after functions with arrays as parameters #17

@sancarn

Description

@sancarn

Describe the bug
Initially I noticed this when the Option Explicit error wasn't applicable for stdCallback and stdLambda.

image

Now I realise though that the outline doesn't work for these either. So I assume parsing is just broken.

Both these modules have the following declare:

Private Function stdCallByName(ByRef obj As Object, ByVal funcName As String, ByVal callerType As VbCallType, ByRef args() As Variant) As Variant
  ...
End Function

after which it seems parsing breaks

image

To Reproduce

Minimally you can just load stdCallback or stdLambda into vscode.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions