been talking with @jmgomez on IRC about this, he proposed to move some insights 
here

talking about case OPT = 2
    
    
    18:54 <FromDiscord> <jmgomez> It works by coincidence really
    18:54 <FromDiscord> <jmgomez> `N_LIB_PRIVATE MyClass objbugg_6 = {0}`
    18:55 <FromDiscord> <jmgomez> it's calling the constructor you defined 
without intending to. If you add another parameter probably it will fail
    18:57 <FromDiscord> <jmgomez> You can ask in #internals or forums or in gh 
issues if it's the intended behaviors. Im not familiar with how the logic of 
`{}` is expected to work in Nim
    ...
    19:08 <FromDiscord> <jmgomez> There is no way the Nim compiler knows that 
you deleted the constructor
    
    
    Run

Reply via email to