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: <img width="470" height="532" alt="Image" src="https://github.com/user-attachments/assets/31e1b0f6-d70b-47d9-b7d6-1ecd62ff106b" /> is not valid, as shown below: <img width="1102" height="208" alt="Image" src="https://github.com/user-attachments/assets/4b779b01-cd21-453c-8a8a-ba8f141a6255" /> you must add brackets: <img width="464" height="402" alt="Image" src="https://github.com/user-attachments/assets/a597359d-83d4-443b-a786-412b9bf74f09" /> and then it compiles as expected.
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:
is not valid, as shown below:
you must add brackets:
and then it compiles as expected.