(resolve: &Resolve, mut id: TypeId)
| 255 | } |
| 256 | |
| 257 | pub fn dealias(resolve: &Resolve, mut id: TypeId) -> TypeId { |
| 258 | loop { |
| 259 | match &resolve.types[id].kind { |
| 260 | TypeDefKind::Type(Type::Id(that_id)) => id = *that_id, |
| 261 | _ => break id, |
| 262 | } |
| 263 | } |
| 264 | } |
no outgoing calls
no test coverage detected