message: This should be checked for every expression not just for cast expression
diff: @@ -54,9 +54,6 @@ bool BoundCastExpression::Equals(const BaseExpression *other_) const {
  if (!Expression::Equals(child.get(), other->child.get())) {
  return false;
  }
  - if (return_type != other->return_type) {
  - return false;
  - }
  return true;
  }
  