BBx-Kitchen / bbj-language-server

BBj Language Server
MIT License
6 stars 6 forks source link

Is it OK that it is possible to call a method with a param that has not been declared? #93

Closed insafuhrmann closed 1 year ago

insafuhrmann commented 1 year ago

At the moment it is possible to use variables that have not been declared as parameters in functions. This will not be flagged as an error in the current state.

@StephanWald @hyyan @SebastianAdams Is that OK? Will it be handled somehow?

StephanWald commented 1 year ago

Yes. Declaring and even initialization is always optional, also for variables you pass into a method or into a CALL verb.

insafuhrmann commented 1 year ago

Thanks for the info!