remove panic

This commit is contained in:
Folkert 2020-04-13 22:35:34 +02:00
parent f6af66f342
commit 63bc923b37
4 changed files with 5 additions and 5 deletions

View file

@ -831,8 +831,9 @@ fn from_can<'a>(
elems: elems.into_bump_slice(),
}
}
Accessor { .. } => todo!("record accessor"),
Update { .. } => todo!("record update"),
RuntimeError(error) => Expr::RuntimeError(env.arena.alloc(format!("{:?}", error))),
other => panic!("TODO convert canonicalized {:?} to mono::Expr", other),
}
}