Factor out definition into separate file in compiler series

This commit is contained in:
2019-11-05 10:40:51 -08:00
parent c79b5a4120
commit 9aef499deb
6 changed files with 68 additions and 56 deletions

View File

@@ -1,5 +1,6 @@
#include "ast.hpp"
#include "definition.hpp"
#include "error.hpp"
#include "ast.hpp"
void definition_defn::typecheck_first(type_mgr& mgr, type_env& env) {
return_type = mgr.new_type();