fortunately views can put pointers back to their place. They're only very 
recently implemented and still experimental and thus this example below (which 
I think is correct) segfaults at runtime 🙁:
    
    
    {.experimental: "views".}
    
    proc test() =
      var
        x = 42
        y: var int = x
      y = 52
      echo x
    
    test()
    
    
    Run

Reply via email to