diff options
| author | Graydon Hoare <[email protected]> | 2010-07-01 23:20:28 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-01 23:20:28 -0700 |
| commit | 27d69a88b1bcc1070f5d20fdd6681cc001f71632 (patch) | |
| tree | 47596355f08f9200a0b5f0aa1289d19587eb5bb3 /src/boot | |
| parent | Improve mangling. (diff) | |
| download | rust-27d69a88b1bcc1070f5d20fdd6681cc001f71632.tar.xz rust-27d69a88b1bcc1070f5d20fdd6681cc001f71632.zip | |
Teach clone_ty to tolerate cloning a mutable (though not state) type.
Diffstat (limited to 'src/boot')
| -rw-r--r-- | src/boot/me/trans.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/me/trans.ml b/src/boot/me/trans.ml index b0fd9c26..3a9085f7 100644 --- a/src/boot/me/trans.ml +++ b/src/boot/me/trans.ml @@ -2573,7 +2573,7 @@ let trans_visitor (ty:Ast.ty) (curr_iso:Ast.ty_iso option) : unit = - match ty with + match strip_mutable_or_constrained_ty ty with Ast.TY_chan _ -> trans_upcall "upcall_clone_chan" dst [| (Il.Cell clone_task); (Il.Cell src) |] |