diff options
Diffstat (limited to 'src/comp/middle/trans_objects.rs')
| -rw-r--r-- | src/comp/middle/trans_objects.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/middle/trans_objects.rs b/src/comp/middle/trans_objects.rs index ed2ee1ba74d..ca1740df034 100644 --- a/src/comp/middle/trans_objects.rs +++ b/src/comp/middle/trans_objects.rs @@ -63,7 +63,7 @@ fn trans_obj(cx: @local_ctxt, sp: &span, ob: &ast::_obj, ty::ret_ty_of_fn(ccx.tcx, ctor_id), fn_args, ty_params); let arg_tys: [ty::arg] = arg_tys_of_fn(ccx, ctor_id); - copy_args_to_allocas(fcx, bcx, fn_args, arg_tys); + copy_args_to_allocas(fcx, bcx, fn_args, arg_tys, true); // Pick up the type of this object by looking at our own output type, that // is, the output type of the object constructor we're building. |
