Initial stab at lowering mutable and exterior into the type system.
This commit is contained in:
parent
ffdcd67c25
commit
1f9fd2710e
15 changed files with 942 additions and 909 deletions
|
|
@ -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 }
|
||||
;;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue