type
  MyType = object
    mySeq: seq[int]
    
proc get(m: MyType): seq[int]

var mt = MyType(mySeq: @[])

mt.get.delete(0)