spec icon indicating copy to clipboard operation
spec copied to clipboard

stack size mismatch error messages are unclear

Open zlago opened this issue 2 years ago • 0 comments

"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

zlago avatar Aug 02 '23 17:08 zlago