Kill an unimplemented!()
This commit is contained in:
parent
b2039a7b67
commit
0adc761e72
@ -57,7 +57,7 @@ impl Type<TVar> {
|
|||||||
fn skolemize(&self) -> Type<UVar> {
|
fn skolemize(&self) -> Type<UVar> {
|
||||||
match self {
|
match self {
|
||||||
Type::Var(TVar::Univ(uvar)) => Type::Var(uvar.clone()),
|
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::Const(ref c) => Type::Const(c.clone()),
|
||||||
Type::Arrow(a, b) => Type::Arrow(
|
Type::Arrow(a, b) => Type::Arrow(
|
||||||
Box::new(a.skolemize()),
|
Box::new(a.skolemize()),
|
||||||
|
Loading…
Reference in New Issue
Block a user