mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-05 22:48:42 +00:00
.
This commit is contained in:
parent
a1d9e6b190
commit
aab455ff1d
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue