Detect type aliasing cycles
This commit is contained in:
12
boot/ast.cc
12
boot/ast.cc
@ -264,18 +264,8 @@ namespace elna::boot
|
||||
delete m_body;
|
||||
}
|
||||
|
||||
return_declaration::return_declaration(std::shared_ptr<type_expression> type)
|
||||
: type(type)
|
||||
{
|
||||
}
|
||||
|
||||
return_declaration::return_declaration(std::monostate)
|
||||
: no_return(true)
|
||||
{
|
||||
}
|
||||
|
||||
procedure_type_expression::procedure_type_expression(const struct position position,
|
||||
return_declaration return_type)
|
||||
return_declaration<std::shared_ptr<type_expression>> return_type)
|
||||
: type_expression(position), return_type(return_type)
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user