Skip to content

Missing parser error BC30205: End of statement expected. #14761

@AlekseyTs

Description

@AlekseyTs
Module Module1

    Sub Main()

    End Sub

    Sub Test(val As Object)
        Dim r As String

        If val Is Nothing Then r = "null" GoTo label1

label1:
    End Sub
End Module

Expected:

(11) : error BC30205: End of statement expected.

        If val Is Nothing Then r = "null" GoTo label1
                                          ~~~~~~~~~~~

Observed: No error, compilation succeeds.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions