     
     if let (readLog, writeLog) = trans.log[id]  {
         if let val = writeLog {
-            return (val as [T], trans)
+            return ((val as [T]), trans)
         } else {
             let copy = tvar.value.copy() as [T]
             trans.log[id] = (copy, writeLog)

//    public func setValue(x:T) {
//        self.value = x.copy()
//    }
//    
//    public func getValue() -> T {
//        return self.value.copy()
//    }

    }
}

private func __readTVar<T> (tvar: TVarArray<T>, trans: Transactions) -> ([T]?, Transactions) {
    let id = tvar.id
    
    trans.thereIsNoReads = false
