lemonlang 0.0.4

an experimental, modern, purely safe, programming language.
1
2
3
4
5
6
7
8
9
10
11
use crate::ast::{self};

use super::diags::SyntaxErr;
use super::types::TypeId;
use super::{Checker, TyResult};

impl Checker<'_> {
	pub fn check_import_expr(&mut self, import_expr: &mut ast::ImportExpr) -> TyResult<TypeId> {
		Err(SyntaxErr::not_found_module(import_expr.get_path().as_str(), import_expr.get_range()))
	}
}