Explorar el Código

call s_clean before pop context

szdytom hace 1 año
padre
commit
2c5f46f096
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/compiler/compiler.cpp

+ 1 - 0
src/compiler/compiler.cpp

@@ -101,6 +101,7 @@ Error* Compiler::pop_context() noexcept{
 
 
         assert(func->type != FuncType::UNSET);
         assert(func->type != FuncType::UNSET);
     }
     }
+    contexts.back().s_clean();
     contexts.pop_back();
     contexts.pop_back();
     return NULL;
     return NULL;
 }
 }