Skip to content

Commit 36b63c9

Browse files
committed
More helpers for basic int types
1 parent ec77220 commit 36b63c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/Helpers.ml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ end
2828
(* Creating AST nodes *********************************************************)
2929

3030
let uint8 = TInt K.UInt8
31+
let uint16 = TInt K.UInt16
3132
let uint32 = TInt K.UInt32
33+
let uint64 = TInt K.UInt64
3234
let usize = TInt K.SizeT
3335

3436
let type_of_op op w =
@@ -346,7 +348,7 @@ class ['self] readonly_visitor = object (self: 'self)
346348
| EPolyComp _
347349
| EOp _ ->
348350
List.for_all (self#visit_expr_w ()) es
349-
| EQualified _
351+
| EQualified _
350352
when is_readonly_builtin_lid e ->
351353
List.for_all (self#visit_expr_w ()) es
352354
| ETApp ({ node = EQualified _; _ } as e, _, _, _)

0 commit comments

Comments
 (0)