Skip to content

Commit 9a71920

Browse files
committed
fixup for #6378
1 parent b95e229 commit 9a71920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goto-instrument/contracts/assigns.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ static const slicet normalize_to_slice(const exprt &expr, const namespacet &ns)
3333
pointer_offset(arg)},
3434
typecast_exprt::conditional_cast(object_size(arg), signed_size_type())};
3535
}
36-
else if(is_lvalue(expr))
36+
else if(is_assignable(expr))
3737
{
3838
const auto &size = size_of_expr(expr.type(), ns);
3939

0 commit comments

Comments
 (0)