Merge remote-tracking branch 'origin/topic/jsiwek/table-attribute-fixes'

* origin/topic/jsiwek/table-attribute-fixes:
  Fix various bugs with table/set attributes.

Closes #866.
This commit is contained in:
Robin Sommer 2012-12-03 14:11:14 -08:00
commit d9f90fcac0
8 changed files with 270 additions and 2 deletions

View file

@ -3445,7 +3445,7 @@ Val* SetConstructorExpr::Eval(Frame* f) const
if ( IsError() )
return 0;
TableVal* aggr = new TableVal(type->AsTableType(), 0);
TableVal* aggr = new TableVal(type->AsTableType(), attrs);
const expr_list& exprs = op->AsListExpr()->Exprs();
loop_over_list(exprs, i)