Skip to content

Commit 5c177aa

Browse files
committed
---
yaml --- r: 322 b: refs/heads/master c: b0f7708 h: refs/heads/master v: v3
1 parent 05871be commit 5c177aa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: ae515c017c0aadb2a4c691804f1bc3b8b343dd67
2+
refs/heads/master: b0f77088fa9d4afe98254f9c36e4bf707eef2c01

trunk/src/boot/me/type.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ let check_stmt (cx:Semant.ctxt) : (fn_ctx -> Ast.stmt -> unit) =
5555
let rec unbox ty acc =
5656
match ty with
5757
Ast.TY_box ty' -> unbox ty' (acc + 1)
58+
| Ast.TY_mutable ty' | Ast.TY_constrained (ty', _) -> unbox ty' acc
5859
| _ -> (ty, acc)
5960
in
6061
unbox ty 0

0 commit comments

Comments
 (0)