@@ -756,7 +756,7 @@ namespace Ark
756756
757757 if (list->valueType () != ValueType::List)
758758 throw types::TypeCheckingError (
759- " concat" ,
759+ " concat! " ,
760760 { { types::Contract { { types::Typedef (" list" , ValueType::List) } } } },
761761 { *list });
762762
@@ -842,7 +842,7 @@ namespace Ark
842842 { types::Typedef (" string" , ValueType::String),
843843 types::Typedef (" index" , ValueType::Number),
844844 types::Typedef (" char" , ValueType::String) } } } },
845- { *list, number });
845+ { *list, number, new_value });
846846
847847 const std::size_t size = list->valueType () == ValueType::List ? list->list ().size () : list->stringRef ().size ();
848848 long idx = static_cast <long >(number.number ());
@@ -876,7 +876,7 @@ namespace Ark
876876 types::Typedef (" x" , ValueType::Number),
877877 types::Typedef (" y" , ValueType::Number),
878878 types::Typedef (" new_value" , ValueType::Any) } } } },
879- { *list, x, y });
879+ { *list, x, y, new_value });
880880
881881 long idx_y = static_cast <long >(x.number ());
882882 idx_y = idx_y < 0 ? static_cast <long >(list->list ().size ()) + idx_y : idx_y;
@@ -899,7 +899,7 @@ namespace Ark
899899 types::Typedef (" x" , ValueType::Number),
900900 types::Typedef (" y" , ValueType::Number),
901901 types::Typedef (" char" , ValueType::String) } } } },
902- { *list, x, y });
902+ { *list, x, y, new_value });
903903
904904 const bool is_list = list->list ()[static_cast <std::size_t >(idx_y)].valueType () == ValueType::List;
905905 const std::size_t size =
@@ -1554,7 +1554,7 @@ namespace Ark
15541554 throw NestedError (e, stream.str ());
15551555 }
15561556 else
1557- showBacktraceWithException (Error (e.details ()), context);
1557+ showBacktraceWithException (Error (e.details (/* colorize= */ true )), context);
15581558 }
15591559 catch (const std::exception& e)
15601560 {
0 commit comments