- switch (type_) {
- case Type::WAITANY:
- // TODO: We need to check if any of the transitions waited on occurred before `e1`
- return true; // Let's overapproximate to not miss branches
- default:
- xbt_die("Unexpected transition type %s", to_c_str(type_));
- }
+ xbt_assert(type_ == Type::WAITANY, "Unexpected transition type %s", to_c_str(type_));
+
+ // TODO: We need to check if any of the transitions waited on occurred before `e1`
+ return true; // Let's overapproximate to not miss branches