From 44e2dc2789a8b3a19024ec67e25f8bd4d28afdce Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Fri, 23 Jul 2010 15:29:17 -0700 Subject: Improve mutability checking. Closes #118. --- src/boot/me/effect.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/boot/me/effect.ml') diff --git a/src/boot/me/effect.ml b/src/boot/me/effect.ml index be0c5af2..c55e1d12 100644 --- a/src/boot/me/effect.ml +++ b/src/boot/me/effect.ml @@ -51,7 +51,7 @@ let mutability_checking_visitor if (is_mutable or is_init) then () else err (Some s.id) - "writing to non-mutable slot of type %a in statement %a" + "writing to immutable type %a in statement %a" Ast.sprintf_ty dst_ty Ast.sprintf_stmt s in (* FIXME (issue #75): enforce the no-write-alias-to-immutable-slot -- cgit v1.2.3