diff --git a/src/compiler/compiler.cpp b/src/compiler/compiler.cpp index 26d0ebb5..4572d897 100644 --- a/src/compiler/compiler.cpp +++ b/src/compiler/compiler.cpp @@ -101,6 +101,7 @@ Error* Compiler::pop_context() noexcept{ assert(func->type != FuncType::UNSET); } + contexts.back().s_clean(); contexts.pop_back(); return NULL; }