Procházet zdrojové kódy

[eval] also drop static inits on removing static prototype
closes #8583

Aleksandr Kuzmenko před 6 roky
rodič
revize
107e071624
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      src/macro/eval/evalContext.ml

+ 1 - 0
src/macro/eval/evalContext.ml

@@ -211,6 +211,7 @@ class static_prototypes = object(self)
 		prototypes <- IntMap.add proto.ppath proto prototypes
 
 	method remove path =
+		inits <- IntMap.remove path inits;
 		prototypes <- IntMap.remove path prototypes
 
 	method set_needs_reset =