mirror of
https://github.com/Dummi26/mers.git
synced 2025-12-13 19:06:16 +01:00
improve and move theming traits
move pretty_print.rs from mers to mers_lib
This commit is contained in:
@@ -105,7 +105,12 @@ impl MersStatement for Chain {
|
||||
}),
|
||||
}
|
||||
} else {
|
||||
todo!("err: not a function");
|
||||
Err(CheckError::new()
|
||||
.msg_str("tried to chain with non-function".to_owned())
|
||||
.src(vec![(
|
||||
self.chained.source_range(),
|
||||
Some(EColor::ChainWithNonFunction),
|
||||
)]))
|
||||
}
|
||||
}
|
||||
fn has_scope(&self) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user