Initial stab at lowering mutable and exterior into the type system.

This commit is contained in:
Graydon Hoare 2010-06-29 12:00:15 -07:00
parent ffdcd67c25
commit 1f9fd2710e
15 changed files with 942 additions and 909 deletions

View file

@ -181,13 +181,11 @@ let err (str:string) (ps:pstate) =
let (slot_nil:Ast.slot) =
{ Ast.slot_mode = Ast.MODE_interior;
Ast.slot_mutable = false;
Ast.slot_ty = Some Ast.TY_nil }
;;
let (slot_auto:Ast.slot) =
{ Ast.slot_mode = Ast.MODE_interior;
Ast.slot_mutable = true;
Ast.slot_ty = None }
;;