Write explanations of AST refactor in compiler series

This commit is contained in:
2019-10-08 21:42:25 -07:00
parent e054cb98cc
commit e4bf3a8672
6 changed files with 101 additions and 15 deletions

View File

@@ -36,6 +36,10 @@ void typecheck_program(
pair.second->print(mgr, std::cout);
std::cout << std::endl;
}
for(auto& def : prog) {
def->resolve(mgr);
}
}
int main() {