feat: introduce bidirectional type checking

This commit is contained in:
Shunsuke Shibayama 2023-09-05 13:57:58 +09:00
parent 5f8d744e47
commit 75b5b68831
13 changed files with 501 additions and 135 deletions

View file

@ -260,7 +260,7 @@ impl ASTLowerer {
self.errs.extend(errs);
}
for chunk in ast.module.into_iter() {
match self.lower_chunk(chunk) {
match self.lower_chunk(chunk, None) {
Ok(chunk) => {
module.push(chunk);
}