   get: (i) ->
    if i < 0 or i >= @length
     null
-   new @struct null, @views, i
+   new @struct null, views, i
 
   set: (i, val) ->
    if i < 0 or i >= @length

 Struct: Struct
 Array: Array

module.exports = TDS


###

   if @struct.id isnt val.id
    return off

   #TODO copy in here
   o = new @struct null, views, i
   o.copyFrom val
   return on

