From 5a05df659d73b946c83968c53c7a94065fd203f4 Mon Sep 17 00:00:00 2001 From: Vasilii Rogin Date: Mon, 15 May 2023 19:02:30 +0300 Subject: [PATCH] Add a comment why method is not implemented --- src/sfall_arrays.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sfall_arrays.cc b/src/sfall_arrays.cc index a32859a..427c888 100644 --- a/src/sfall_arrays.cc +++ b/src/sfall_arrays.cc @@ -422,7 +422,7 @@ public: } void SetArray(const ProgramValue& key, ArrayElement&& val, bool allowUnset) { - // TODO + throw std::invalid_argument("This method is not used for associative arrays thus it is not implemented"); } void ResizeArray(int newLen) {