Only store type in case expression

This commit is contained in:
2020-03-24 17:53:06 -07:00
parent 9e14b2920c
commit addfc2aa55
5 changed files with 24 additions and 101 deletions

View File

@@ -48,10 +48,6 @@ void typecheck_program(
pair.second->print(mgr, std::cout);
std::cout << std::endl;
}
for(auto& def : prog) {
def->resolve(mgr);
}
}
void compile_program(const std::vector<definition_ptr>& prog) {