We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 205ec36 commit dd7db5aCopy full SHA for dd7db5a
src/goto-programs/json_goto_trace.cpp
@@ -118,6 +118,10 @@ void convert_decl(
118
const symbolt *symbol;
119
irep_idt base_name, display_name;
120
121
+ DATA_INVARIANT(
122
+ step.full_lhs_value.is_not_nil(),
123
+ "full_lhs_value in assignment must not be nil");
124
+
125
if(!ns.lookup(identifier, symbol))
126
{
127
base_name = symbol->base_name;
@@ -132,9 +136,6 @@ void convert_decl(
132
136
}
133
137
else
134
138
135
- DATA_INVARIANT(
- step.full_lhs_value.is_not_nil(),
- "full_lhs_value in assignment must not be nil");
139
full_lhs_value = json(step.full_lhs_value, ns, ID_unknown);
140
141
0 commit comments