intersystems / intersystems/language-server

bug: no error for syntactically wrong subroutine

Open
#404 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
21
Forks
12
Avg merge
1d 23h
Merged PRs (30d)
8

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.