Skip to content

[BUG] "Label is not referenced" problems when using multi-line ON...GOSUB construct #203

@TheAllister-123

Description

@TheAllister-123

When using the coding construct...

ON VARIABLE GOSUB SUB1, SUB2, SUB3

...If the statement is split onto multiple lines...

ON VARIABLE GOSUB SUB1,
SUB2,
SUB3

...the linter shows problems with unreferenced labels. The multi-line ON construct is valid, compiles and runs as expected

Image

MacOS Sequoia
VSCode : 1.101.0
MV Basic : 2.1.7
Flavor : UniVerse

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions