Skip to content

Commit d8b7fcd

Browse files
committed
[interpreter] Remove unnecessary type parameter from limits
1 parent d793168 commit d8b7fcd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

interpreter/syntax/types.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ type null = NoNull | Null
88
type mut = Cons | Var
99
type init = Set | Unset
1010
type final = NoFinal | Final
11-
type 'a limits = {min : 'a; max : 'a option}
11+
type limits = {min : int64; max : int64 option}
1212

1313
type var = StatX of type_idx | RecX of int32
1414

@@ -45,8 +45,8 @@ and sub_type = SubT of final * heap_type list * str_type
4545
and rec_type = RecT of sub_type list
4646
and def_type = DefT of rec_type * int32
4747

48-
type table_type = TableT of addr_type * Int64.t limits * ref_type
49-
type memory_type = MemoryT of addr_type * Int64.t limits
48+
type table_type = TableT of addr_type * limits * ref_type
49+
type memory_type = MemoryT of addr_type * limits
5050
type global_type = GlobalT of mut * val_type
5151
type tag_type = TagT of def_type
5252
type local_type = LocalT of init * val_type

0 commit comments

Comments
 (0)