Skip to content
This repository has been archived by the owner on Jul 8, 2023. It is now read-only.

Error message for invalid DSL #421

Open
MrCoder opened this issue Dec 25, 2022 · 1 comment
Open

Error message for invalid DSL #421

MrCoder opened this issue Dec 25, 2022 · 1 comment
Labels

Comments

@MrCoder
Copy link
Contributor

MrCoder commented Dec 25, 2022

No description provided.

@MrCoder
Copy link
Contributor Author

MrCoder commented Dec 27, 2022

Just to add an example, it even took me a few minutes to find the issue.

A.method(opt) {
  if(opt !== null) {
  ...
  }
}

Note, opt is a keyword. This can be improved by updating the parser so that only opt followed by { is treated as an opt keyword.

@MrCoder MrCoder added the high label Dec 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant