Skip to content

bug: no error for syntactically wrong subroutine #404

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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