schala/schala-lang/language/src/typechecking.rs

20 lines
254 B
Rust

use std::rc::Rc;
use ast::AST;
pub type TypeName = Rc<String>;
pub struct TypeContext {
}
impl TypeContext {
pub fn new() -> TypeContext {
TypeContext { }
}
pub fn typecheck(&mut self, _ast: &AST) -> Result<(), String> {
Ok(())
}
}