Hi,

Is there a regression in the compiler, because the above example doesn't 
execute the destructor: 
    
    
    {.experimental.}
    
    type
      MyObj = object
        a: int
    
    proc `=destroy`(m: MyObj) =
      echo "Destruct"
    
    proc works() =
      let x = MyObj(a: 5)
    
    works()
    

I am on Windows 10, Nim Compiler Version 0.18.0 [Windows: i386], MinGW GCC.

Reply via email to