diff options
| author | Graydon Hoare <[email protected]> | 2010-09-09 15:59:29 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-09-09 15:59:29 -0700 |
| commit | a9e2327a18e782df524c14dc42910d61a4785324 (patch) | |
| tree | 8763224ac3a4c11275dd64257aac47036c97c48d /src/boot/me/effect.ml | |
| parent | Fixed lost signal notifications. (diff) | |
| download | rust-a9e2327a18e782df524c14dc42910d61a4785324.tar.xz rust-a9e2327a18e782df524c14dc42910d61a4785324.zip | |
Switch tags to purely nominal, removing TY_iso and TY_idx. Seems to mostly work, possibly a little bumpy. Changes a lot.
Diffstat (limited to 'src/boot/me/effect.ml')
| -rw-r--r-- | src/boot/me/effect.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/me/effect.ml b/src/boot/me/effect.ml index 73797409..d6cfefb8 100644 --- a/src/boot/me/effect.ml +++ b/src/boot/me/effect.ml @@ -28,7 +28,7 @@ let mutability_checking_visitor *) let visit_ty_pre t = match t with - Ast.TY_chan t' when type_has_state t' -> + Ast.TY_chan t' when type_has_state cx t' -> err None "channel of mutable type: %a " Ast.sprintf_ty t' | _ -> () in |