Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise human-readable error in case of incorrect usage of _on or _ special variables in expressions #234

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Mingun
Copy link
Contributor

@Mingun Mingun commented Nov 25, 2021

Fix the internal compiler errors in case of incorrect usages, as in this example:

meta:
  id: internal_errors
seq:
  - id: value1
    type: u1
    if: _
  - id: value2
    type: u1
    if: _on

Currently stable WebIDE shows this not much useful error:

Parse error: undefined
Call stack: undefined java.util.NoSuchElementException: None.get

@Mingun
Copy link
Contributor Author

Mingun commented Mar 7, 2024

@GreyCat, @generalmimon, I see that you have some activity in the project recently. Could you find a time to review my PRs, for example, this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant