Kill an unimplemented!()

This commit is contained in:
greg 2018-11-11 02:48:51 -08:00
parent b2039a7b67
commit 0adc761e72

View File

@ -57,7 +57,7 @@ impl Type<TVar> {
fn skolemize(&self) -> Type<UVar> {
match self {
Type::Var(TVar::Univ(uvar)) => Type::Var(uvar.clone()),
Type::Var(TVar::Exist(evar)) => unimplemented!(),
Type::Var(TVar::Exist(evar)) => Type::Var(UVar(Rc::new(format!("sk")))),
Type::Const(ref c) => Type::Const(c.clone()),
Type::Arrow(a, b) => Type::Arrow(
Box::new(a.skolemize()),