big part of type_chack_visitor done

This commit is contained in:
ProgramSnail 2023-05-06 19:26:14 +03:00
parent adccf6feec
commit f7080ba856
7 changed files with 427 additions and 171 deletions

View file

@ -31,7 +31,7 @@ int main(int argc, char** argv) { // TODO, only test version
parser::ParseTree parse_tree(source);
if (!parse_tree.IsProperlyParsed()) {
error_handling::HandleParsingError("There are some parsing errors in file.", {0, 0});
error_handling::HandleParsingError("There are some parsing errors in file.", {0, 0}, {0, 0});
}
std::unique_ptr<interpreter::tokens::SourceFile> source_file =