mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2026-01-25 13:07:13 +00:00
part of type_check_visitor done
This commit is contained in:
parent
6fc91aafa0
commit
656f58bcde
14 changed files with 891 additions and 539 deletions
|
|
@ -261,7 +261,6 @@ struct Namespace {
|
|||
std::unique_ptr<Sources> scope;
|
||||
|
||||
std::optional<utils::IdType> type_id_;
|
||||
std::optional<info::type::Type> variable_type_;
|
||||
};
|
||||
|
||||
struct Partition {
|
||||
|
|
@ -471,6 +470,9 @@ struct LambdaFunction {
|
|||
std::vector<std::unique_ptr<AnnotatedAbstractType>> parameters;
|
||||
std::vector<ExtendedName> arguments;
|
||||
Expression expression;
|
||||
|
||||
std::vector<utils::IdType> argument_graph_ids_;
|
||||
utils::IdType return_type_graph_id_;
|
||||
};
|
||||
|
||||
struct ArrayExpression {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue