Skip to content

Commit

Permalink
typechecker: create proper module and add TypeId
Browse files Browse the repository at this point in the history
  • Loading branch information
tanguysegarra committed Feb 18, 2022
1 parent f18166b commit e432821
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/instruction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ mod method_call;
mod operator;
mod rename;
mod type_declaration;
mod type_id;
mod type_instantiation;
mod var;
mod var_assignment;
Expand Down
5 changes: 4 additions & 1 deletion src/typechecker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
//! need to get its type checked multiple times, then it can implement the [`CachedTypeCheck`]
//! trait on top of it.
mod type_id;

use crate::{
error::ErrorHandler,
instruction::{FunctionDec, TypeId},
instruction::FunctionDec,
typechecker::TypeId,
Error, ScopeMap,
};
use colored::Colorize;
Expand Down
File renamed without changes.

0 comments on commit e432821

Please sign in to comment.