[fine] Tests for type errors

WHEEEEEEE!
This commit is contained in:
John Doty 2024-01-05 19:29:45 -08:00
parent 618e0028d3
commit a9c1b04920
8 changed files with 123 additions and 47 deletions

View file

@ -148,6 +148,10 @@ impl<'a> Semantics<'a> {
semantics
}
pub fn tree(&self) -> &SyntaxTree<'a> {
&self.syntax_tree
}
pub fn snapshot_errors(&self) -> Vec<Error> {
(*self.errors.borrow()).clone()
}