@@ -53,11 +53,11 @@ module RConf_int = struct
5353 | Add (t ,i ) -> Iter. map (fun i -> Add (t,i)) (Shrink. int i)
5454
5555 let fix_cmd env = function
56- | Get i -> Iter. map (fun i -> Get i ) (Env. valid_states env i)
57- | Set (i ,x ) -> Iter. map (fun i -> Set (i,x)) (Env. valid_states env i)
58- | Add (i ,x ) -> Iter. map (fun i -> Add (i,x)) (Env. valid_states env i)
59- | Incr i -> Iter. map (fun i -> Incr i ) (Env. valid_states env i)
60- | Decr i -> Iter. map (fun i -> Decr i ) (Env. valid_states env i)
56+ | Get i -> Iter. map (fun i -> Get i ) (Env. valid_t_vars env i)
57+ | Set (i ,x ) -> Iter. map (fun i -> Set (i,x)) (Env. valid_t_vars env i)
58+ | Add (i ,x ) -> Iter. map (fun i -> Add (i,x)) (Env. valid_t_vars env i)
59+ | Incr i -> Iter. map (fun i -> Incr i ) (Env. valid_t_vars env i)
60+ | Decr i -> Iter. map (fun i -> Decr i ) (Env. valid_t_vars env i)
6161
6262 type res = RGet of int | RSet | RAdd | RIncr | RDecr [@@ deriving show { with_path = false }, eq ]
6363
@@ -105,11 +105,11 @@ module RConf_int64 = struct
105105 | Add (t ,i ) -> Iter. map (fun i -> Add (t,i)) (Shrink. int64 i)
106106
107107 let fix_cmd env = function
108- | Get i -> Iter. map (fun i -> Get i ) (Env. valid_states env i)
109- | Set (i ,x ) -> Iter. map (fun i -> Set (i,x)) (Env. valid_states env i)
110- | Add (i ,x ) -> Iter. map (fun i -> Add (i,x)) (Env. valid_states env i)
111- | Incr i -> Iter. map (fun i -> Incr i ) (Env. valid_states env i)
112- | Decr i -> Iter. map (fun i -> Decr i ) (Env. valid_states env i)
108+ | Get i -> Iter. map (fun i -> Get i ) (Env. valid_t_vars env i)
109+ | Set (i ,x ) -> Iter. map (fun i -> Set (i,x)) (Env. valid_t_vars env i)
110+ | Add (i ,x ) -> Iter. map (fun i -> Add (i,x)) (Env. valid_t_vars env i)
111+ | Incr i -> Iter. map (fun i -> Incr i ) (Env. valid_t_vars env i)
112+ | Decr i -> Iter. map (fun i -> Decr i ) (Env. valid_t_vars env i)
113113
114114 type res = RGet of int64 | RSet | RAdd | RIncr | RDecr [@@ deriving show { with_path = false }, eq ]
115115
@@ -161,8 +161,8 @@ struct
161161 | Member (t ,i ) -> Iter. map (fun i -> Member (t,i)) (T. shrink i)
162162
163163 let fix_cmd env = function
164- | Add_node (i ,x ) -> Iter. map (fun i -> Add_node (i,x)) (Lin.Env. valid_states env i)
165- | Member (i ,x ) -> Iter. map (fun i -> Member (i,x) ) (Lin.Env. valid_states env i)
164+ | Add_node (i ,x ) -> Iter. map (fun i -> Add_node (i,x)) (Lin.Env. valid_t_vars env i)
165+ | Member (i ,x ) -> Iter. map (fun i -> Member (i,x) ) (Lin.Env. valid_t_vars env i)
166166
167167 type res = RAdd_node of bool | RMember of bool [@@ deriving show { with_path = false }, eq ]
168168
0 commit comments