move error summaries for effect parsing errors to debugger vocab
parent
26e4bb818a
commit
15e6a7fa5e
|
@ -328,6 +328,10 @@ M: lexer-error error-help
|
||||||
|
|
||||||
M: bad-effect summary
|
M: bad-effect summary
|
||||||
drop "Bad stack effect declaration" ;
|
drop "Bad stack effect declaration" ;
|
||||||
|
M: invalid-effect-variable summary
|
||||||
|
drop "Stack effect variables can only occur as the first input or output" ;
|
||||||
|
M: effect-variable-can't-have-type summary
|
||||||
|
drop "Stack effect variables cannot have a declared type" ;
|
||||||
|
|
||||||
M: bad-escape error.
|
M: bad-escape error.
|
||||||
"Bad escape code: \\" write
|
"Bad escape code: \\" write
|
||||||
|
|
|
@ -73,8 +73,3 @@ M: invalid-quotation-input error.
|
||||||
dup summary print
|
dup summary print
|
||||||
[ quots>> ] [ branches>> ] bi quots-and-branches. ;
|
[ quots>> ] [ branches>> ] bi quots-and-branches. ;
|
||||||
|
|
||||||
M: invalid-effect-variable summary
|
|
||||||
drop "Stack effect variables can only occur as the first input or output" ;
|
|
||||||
M: effect-variable-can't-have-type summary
|
|
||||||
drop "Stack effect variables cannot have a declared type" ;
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue