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

stack size mismatch error messages are unclear #1675

Open
zlago opened this issue Aug 2, 2023 · 0 comments
Open

stack size mismatch error messages are unclear #1675

zlago opened this issue Aug 2, 2023 · 0 comments

Comments

@zlago
Copy link

zlago commented Aug 2, 2023

"error: type mismatch in <thing>, expected [<thing>] but got []" and "error: type mismatch in implicit return, expected [] but got [<thing>]" dont make it clear that the stack has underflowed/too many entries

i would very much appreciate if these messages were "error: stack underflows at <thing>" and "error: stack too big on implicit return (x entries too many/few)" instead for these cases

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

No branches or pull requests

1 participant