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 dde5d34 commit 00b6873Copy full SHA for 00b6873
src/pointer-analysis/value_set.cpp
@@ -1156,10 +1156,10 @@ void value_sett::assign(
1156
}
1157
else
1158
{
1159
- if(rhs.type() != type)
+ if(rhs.type() != lhs.type())
1160
throw "value_sett::assign type mismatch: "
1161
"rhs.type():\n"+rhs.type().pretty()+"\n"+
1162
- "type:\n"+type.pretty();
+ "lhs.type():\n"+lhs.type().pretty();
1163
1164
rhs_member=make_member(rhs, name, ns);
1165
0 commit comments