Thanks Araq.

Trying what you say I get:
    
    
    /home/jose/src/nimlang/vs.nim/src/lib/sugarized/operations.nim(68, 15) 
Error: '=dup' is not available for type <VSMapObj>, which is inferred from 
unavailable '=copy'; requires a copy because it's not the last read of 'clip1'; 
try to make clip1 a 'sink' parameter; routine: +
    
    
    Run

It is complaining about the following function:
    
    
    proc `+`*(clip1:VSMapObj, clip2:VSMapObj):VSMapObj =
      ## Adds two clips
      var tmp = @[clip1, clip2]  # <----
      let clips = gen_clips(tmp)
      splice(clips, mismatch=0.some)
    
    
    Run

I am not familiar with the move semantics.

Reply via email to