1 2 3 4 5 6 7 8 9 10 11 12 13 14
#[derive(Clone, Debug, Default)] pub struct TypeChecker; impl TypeChecker { pub fn new() -> Self { Self } #[allow(dead_code)] pub fn check(&self, _program: &crate::parser::ast::Program) -> Result<(), crate::core::LingError> { Ok(()) } }