From 1c03e3eb676b88d3274c7ac3e09a2cf5b75f49be Mon Sep 17 00:00:00 2001 From: Robert-M-Lucas Date: Tue, 4 Jun 2024 03:54:17 +0100 Subject: [PATCH] Began adding error system --- .idea/inspectionProfiles/Project_Default.xml | 5 ++ .idea/workspace.xml | 39 +++--------- main.why | 1 + src/root.rs | 12 ++-- src/root/errors/mod.rs | 39 ++++++++++++ src/root/errors/name_resolver_errors.rs | 9 +++ src/root/errors/parser_errors.rs | 7 +++ src/root/name_resolver/resolve.rs | 11 ++-- src/root/name_resolver/resolve_names.rs | 9 +-- src/root/parser/parse.rs | 62 ++++++++++++++++++++ src/root/parser/parse_function.rs | 9 ++- src/root/utils.rs | 13 ++++ 12 files changed, 166 insertions(+), 50 deletions(-) create mode 100644 src/root/errors/mod.rs create mode 100644 src/root/errors/name_resolver_errors.rs create mode 100644 src/root/errors/parser_errors.rs diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 7d228a9..8424f27 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -1,6 +1,11 @@ \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 774f412..5344698 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -8,41 +8,13 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +