Update badges

This commit is contained in:
Stephen Chung
2020-10-19 17:26:47 +08:00
parent c8c4ca21ad
commit d1f9f4096d
2 changed files with 7 additions and 7 deletions

View File

@@ -1383,7 +1383,7 @@ impl Engine {
)
.map(|(v, _)| v.into())
.map_err(|err| match *err {
EvalAltResult::ErrorFunctionNotFound(fn_sig, _) if fn_sig.ends_with("]") => {
EvalAltResult::ErrorFunctionNotFound(fn_sig, _) if fn_sig.ends_with(']') => {
Box::new(EvalAltResult::ErrorIndexingType(
type_name.into(),
Position::none(),