1
0
Эх сурвалжийг харах

call s_clean before pop context

szdytom 1 жил өмнө
parent
commit
2c5f46f096

+ 1 - 0
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;
 }