BREAKING: KCL @settings are the source of truth for units (#5808)
This commit is contained in:
@ -195,6 +195,10 @@ impl Program {
|
||||
})
|
||||
}
|
||||
|
||||
pub fn is_empty_or_only_settings(&self) -> bool {
|
||||
self.ast.is_empty_or_only_settings()
|
||||
}
|
||||
|
||||
pub fn lint_all(&self) -> Result<Vec<lint::Discovered>, anyhow::Error> {
|
||||
self.ast.lint_all()
|
||||
}
|
||||
|
Reference in New Issue
Block a user