Sfoglia il codice sorgente

Merge branch 'v2.0' of https://github.com/pocketpy/pocketpy into v2.0

blueloveTH 1 anno fa
parent
commit
8bc4427c7c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      include/pocketpy/compiler/expr.hpp

+ 1 - 1
include/pocketpy/compiler/expr.hpp

@@ -52,7 +52,7 @@ struct Expr {
 
 inline void delete_expr(Expr* p) noexcept{
     if(!p) return;
-    p->Expr::~Expr();
+    p->~Expr();
     PoolExpr_dealloc(p);
 }