This commit is contained in:
ProgramSnail 2023-05-16 14:15:40 +03:00
parent a1d9e6b190
commit aab455ff1d
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -36,7 +36,7 @@ void TypeCheckVisitor::Visit(Namespace* node) {
if (node->link_typeclass_id_.has_value()) {
utils::IdType graph_id = global_info_.GetTypeclassInfo(node->link_typeclass_id_.value()).graph_id_;
std::vector<utils::IdType> requirements = namespace_visitor_.GetTypeclassGraph()->GetTypeclassDependencies(graph_id);
std::vector<utils::IdType> requirements = typeclass_graph_.GetTypeclassDependencies(graph_id);
requirements.push_back(graph_id);
utils::IdType abstract_type = context_manager_.AddValue(
info::type::AbstractType(utils::AbstractTypeModifier::Abstract, node->type, requirements),