mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-18 12:58:44 +00:00
fixes, parametrized type constructor not fork (segfault)
This commit is contained in:
parent
7f4266821c
commit
91f9affadc
8 changed files with 89 additions and 58 deletions
|
|
@ -69,7 +69,7 @@ int main(int argc, char** argv) { // TODO, only test version
|
|||
|
||||
try {
|
||||
type_check_visitor.VisitSourceFile(source_file.get());
|
||||
} catch (...) { error_handling::HandleInternalError("type_check_visitor exception", "main", std::nullopt); }
|
||||
} catch (bool) { error_handling::HandleInternalError("type_check_visitor exception", "main", std::nullopt); }
|
||||
|
||||
std::optional<utils::IdType> maybe_main_partition_id = global_info.FindPartition({"main"});
|
||||
|
||||
|
|
@ -80,7 +80,7 @@ int main(int argc, char** argv) { // TODO, only test version
|
|||
const info::GlobalInfo::PartitionInfo& main_partition =
|
||||
global_info.GetPartitionInfo(maybe_main_partition_id.value());
|
||||
|
||||
// std::cout << "\n---------------------------------- Execution -------------------------------------\n\n";
|
||||
std::cout << "\n---------------------------------- Execution -------------------------------------\n\n";
|
||||
|
||||
interpreter::ExecuteVisitor execute_visitor(global_info,
|
||||
type_context_manager,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue