Error Messaging Redesign
This commit contains the following: * New data types to support full tracebacks * New traceback data type used across stl and ast * Updates to tests * fixes for error messaging in sym and some stl functions
This commit is contained in:
parent
91ad4eed12
commit
789349df48
24 changed files with 837 additions and 374 deletions
|
|
@ -132,8 +132,11 @@ mod append_lib_tests {
|
|||
*eval(&lex(&document.to_string()).unwrap(), &mut syms)
|
||||
.err()
|
||||
.unwrap()
|
||||
.to_string(),
|
||||
"error in call to car: argument is empty".to_string(),
|
||||
.0
|
||||
.first()
|
||||
.unwrap()
|
||||
.message,
|
||||
"input is empty".to_string(),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -166,8 +169,11 @@ mod append_lib_tests {
|
|||
*eval(&lex(&document.to_string()).unwrap(), &mut syms)
|
||||
.err()
|
||||
.unwrap()
|
||||
.to_string(),
|
||||
"error in call to cdr: argument is empty".to_string(),
|
||||
.0
|
||||
.first()
|
||||
.unwrap()
|
||||
.message,
|
||||
"input is empty".to_string(),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue