File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed
tests/regression/13-privatized Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ struct
169
169
}
170
170
171
171
let ghost_update' ~variable ~(expression ): GhostInstrumentation.Update.t = {
172
- ghost_variable = variable;
172
+ variable;
173
173
expression;
174
174
}
175
175
Original file line number Diff line number Diff line change @@ -518,22 +518,22 @@ struct
518
518
module Update =
519
519
struct
520
520
type t = {
521
- ghost_variable : string ;
521
+ variable : string ;
522
522
expression : string ;
523
523
}
524
524
[@@ deriving eq , ord , hash ]
525
525
526
- let to_yaml {ghost_variable ; expression} =
526
+ let to_yaml {variable ; expression} =
527
527
`O [
528
- (" ghost_variable " , `String ghost_variable );
528
+ (" variable " , `String variable );
529
529
(" expression" , `String expression);
530
530
]
531
531
532
532
let of_yaml y =
533
533
let open GobYaml in
534
- let + ghost_variable = y |> find " ghost_variable " >> = to_string
534
+ let + variable = y |> find " variable " >> = to_string
535
535
and + expression = y |> find " expression" >> = to_string in
536
- {ghost_variable ; expression}
536
+ {variable ; expression}
537
537
end
538
538
539
539
module LocationUpdate =
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ Same with ghost_instrumentation and invariant_set entries.
186
186
column: 5
187
187
function: producer
188
188
updates:
189
- - ghost_variable : m_locked
189
+ - variable : m_locked
190
190
expression: " 1"
191
191
- location:
192
192
file_name: 74 -mutex. c
@@ -195,7 +195,7 @@ Same with ghost_instrumentation and invariant_set entries.
195
195
column: 5
196
196
function: producer
197
197
updates:
198
- - ghost_variable : m_locked
198
+ - variable : m_locked
199
199
expression: " 0"
200
200
- location:
201
201
file_name: 74 -mutex. c
@@ -204,7 +204,7 @@ Same with ghost_instrumentation and invariant_set entries.
204
204
column: 3
205
205
function: main
206
206
updates:
207
- - ghost_variable : multithreaded
207
+ - variable : multithreaded
208
208
expression: " 1"
209
209
- location:
210
210
file_name: 74 -mutex. c
@@ -213,7 +213,7 @@ Same with ghost_instrumentation and invariant_set entries.
213
213
column: 3
214
214
function: main
215
215
updates:
216
- - ghost_variable : m_locked
216
+ - variable : m_locked
217
217
expression: " 1"
218
218
- location:
219
219
file_name: 74 -mutex. c
@@ -222,7 +222,7 @@ Same with ghost_instrumentation and invariant_set entries.
222
222
column: 3
223
223
function: main
224
224
updates:
225
- - ghost_variable : m_locked
225
+ - variable : m_locked
226
226
expression: " 0"
227
227
- entry_type: invariant_set
228
228
content:
You can’t perform that action at this time.
0 commit comments