Closed geisserf closed 3 years ago
The issue is the code that was added to EqualsExpression::print
:
if ((exprs.size() == 2)) {
ActionFluent* af = static_cast<ActionFluent*>(exprs[0]);
NumericConstant* val = static_cast<NumericConstant*>(exprs[1]);
if (af && val) {
out << af->values[val->value];
return;
}
}
This must of course be a dynamic_cast
instead of a static_cast
.
Resolved in commit 7f4f30801896ce5819f2f727561262e2213beaf5
Hala, thanks for reporting this and @geisserf, thanks for fixing this!
Reported by Mostafa, Hala via mail:
This bug was introduced in 3f754f8.