Remove the parent method from type_env.

This commit is contained in:
2020-09-17 22:35:12 -07:00
parent 39bc6bb99e
commit 418126ac1f
3 changed files with 1 additions and 6 deletions

View File

@@ -31,7 +31,6 @@ class type_env {
type_env(type_env_ptr p) : parent(std::move(p)) {}
type_env() : type_env(nullptr) {}
type_env_ptr get_parent();
void find_free(const type_mgr& mgr, std::set<std::string>& into) const;
void find_free_except(const type_mgr& mgr, const group& avoid,
std::set<std::string>& into) const;