Add line/position in compilation errors; Add compile to AST; FIx infinite loop in close parens.
This commit is contained in:
@@ -32,7 +32,7 @@ fn test_mismatched_op_custom_type() {
|
||||
assert_eq!(
|
||||
engine.eval::<i64>("60 + new_ts()"),
|
||||
Err(EvalAltResult::ErrorFunctionNotFound(
|
||||
"+ (i64,mismatched_op::test_mismatched_op_custom_type::TestStruct)".into()
|
||||
"+ (i64, mismatched_op::test_mismatched_op_custom_type::TestStruct)".into()
|
||||
))
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user