mirror of
https://codeberg.org/ProgramSnail/lang.git
synced 2025-12-26 00:38:45 +00:00
fixes, part of == for TypeProxy done, cotex enchantments, type chack arguments
This commit is contained in:
parent
6dc9c9b5af
commit
f36ff3638b
8 changed files with 195 additions and 121 deletions
|
|
@ -543,7 +543,7 @@ build_name_expression(parser::ParseTree::Node parser_node,
|
|||
build_node(parser_node), build_identifier(name_node),
|
||||
std::move(arguments),
|
||||
prefix_node.has_value() ? build_type(prefix_node.value(), type_storage)
|
||||
: std::optional<nodes::TypeProxy>(),
|
||||
: nodes::MaybeTypeProxy(),
|
||||
is_point_call, false);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -252,9 +252,9 @@ nodes::TypeDefinition build_type_definition(parser::ParseTree::Node parser_node,
|
|||
}
|
||||
}
|
||||
|
||||
std::optional<nodes::TypeProxy> type =
|
||||
nodes::MaybeTypeProxy type =
|
||||
type_node.has_value() ? build_type(type_node.value(), type_storage)
|
||||
: std::optional<nodes::TypeProxy>();
|
||||
: nodes::MaybeTypeProxy();
|
||||
|
||||
std::unordered_set<std::string> annotations;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue