pub trait GetType {
fn get_type(&self, context: &CompileContext) -> Result<Type, Error>;
fn match_type(&self, context: &CompileContext, t: &Type) -> Result<(), Error>;
}pub trait GetType {
fn get_type(&self, context: &CompileContext) -> Result<Type, Error>;
fn match_type(&self, context: &CompileContext, t: &Type) -> Result<(), Error>;
}