Type no longer implements MersType

This commit is contained in:
Mark
2024-04-16 13:38:50 +02:00
parent 4fc9441bd5
commit 2742112b09
33 changed files with 109 additions and 127 deletions

View File

@@ -5,7 +5,7 @@ use std::{
};
use crate::{
data::{self, Data, MersType, Type},
data::{self, Data, Type},
errors::{CheckError, SourceRange},
info,
};
@@ -121,8 +121,8 @@ pub struct CheckLocal {
pub types: HashMap<
String,
Result<
Arc<dyn MersType>,
Arc<dyn Fn(&str, &CheckInfo) -> Result<Arc<dyn MersType>, CheckError> + Send + Sync>,
Arc<Type>,
Arc<dyn Fn(&str, &CheckInfo) -> Result<Arc<Type>, CheckError> + Send + Sync>,
>,
>,
}