Skip to content

Commit d299ea2

Browse files
author
Matthias Güdemann
committed
Allow "unknown" value assignments in JSON trace
With the exception_value support, there is the possibility to have `nil` values assigned in the trace. These values are returned from `prop_conv.get(expr)`.
1 parent 4a2876b commit d299ea2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/goto-programs/json_goto_trace.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ void convert(
208208
type_string=from_type(ns, identifier, symbol->type);
209209

210210
json_assignment["mode"]=json_stringt(id2string(symbol->mode));
211-
assert(step.full_lhs_value.is_not_nil());
212211
exprt simplified=simplify_array_access(step.full_lhs_value);
213212
full_lhs_value=json(simplified, ns, symbol->mode);
214213
}

0 commit comments

Comments
 (0)