diff --git a/src/type_check_visitor.cpp b/src/type_check_visitor.cpp index 5d1be60..896cee6 100644 --- a/src/type_check_visitor.cpp +++ b/src/type_check_visitor.cpp @@ -1464,19 +1464,6 @@ std::optional utils::IdType expression_type) { std::optional maybe_function_declaration; - // TODO: -------- remove, unneeded ------- - // auto maybe_internal_type_info = context_manager_.GetValue(expression_type); - // if (maybe_internal_type_info.has_value()) { - // auto maybe_abstract_type_id = context_manager_.FindLocalType(info::type::ToString(*maybe_internal_type_info.value())); - // if (maybe_abstract_type_id.has_value()) { - // expression_type = maybe_abstract_type_id.value(); - // } else { - // error_handling::HandleInternalError("InternalType local abstract type not found", - // "TypeCheckVisitor.FindExpressionMethodAndUpdate", - // &node->base); - // } - // } - auto maybe_abstract_type_info = context_manager_.GetValue(expression_type); if (maybe_abstract_type_info.has_value()) {