Print unreachable id

This commit is contained in:
Ayaz Hafiz 2022-09-07 17:44:56 -05:00
parent 9f3a44d323
commit 9eb1c170f3
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -385,7 +385,7 @@ impl Types {
pub fn get_type(&self, id: TypeId) -> &RocType {
match self.types.get(id.0) {
Some(typ) => typ,
None => unreachable!(),
None => unreachable!("{:?}", id),
}
}