Skip to content

bug: no error for syntactically wrong subroutine #404

@hkimura-intersys

Description

@hkimura-intersys

There should be an error if someone tries to declare public variables with [x,y] in a subroutine that is not a block.
For example:
Image

is not valid, as shown below:

Image

you must add brackets:

Image

and then it compiles as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions