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

Nice error for mismatched push size #70

Open
lightclient opened this issue Aug 17, 2021 · 0 comments
Open

Nice error for mismatched push size #70

lightclient opened this issue Aug 17, 2021 · 0 comments
Labels
A-assembler Area: assembler C-enhance Category: a request for an improvement E-easy Experience: easy, good for newcomers

Comments

@lightclient
Copy link
Contributor

$ cat main.etk
push2 0x00

$ eas main.etk
thread 'main' panicked at 'source slice length (1) does not match destination slice length (2)', /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/slice/mod.rs:3058:13

This should be nicer.

@lightclient lightclient added A-assembler Area: assembler C-enhance Category: a request for an improvement E-easy Experience: easy, good for newcomers labels Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-assembler Area: assembler C-enhance Category: a request for an improvement E-easy Experience: easy, good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant