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

[BINCODE] assertion when using a binary/read command without providing the required additional value #2601

Closed
Oldes opened this issue Jun 12, 2024 · 0 comments

Comments

@Oldes
Copy link
Owner

Oldes commented Jun 12, 2024

For example such a code:

binary/read #{010203} [SKIP] ;; without providing number of bytes!

Throws an error:

** Access error: invalid spec or options: #(end)
** Where: binary
** Near: binary/read b 'skip

Since the internal value #(end) is used in the error message, it is asserted in the GC pass as System Error #1206.

The error message in such a case must be:

** Access error: invalid spec or options: SKIP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant