We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7ff312 commit e6a97adCopy full SHA for e6a97ad
sway-core/src/type_system/id.rs
@@ -228,13 +228,7 @@ impl TypeId {
228
},
229
TypeInfo::Struct(decl_ref),
230
) => call_path.call_path.suffix != decl_engine.get_struct(decl_ref).call_path.suffix,
231
- (
232
- TypeInfo::Custom {
233
- qualified_call_path: call_path,
234
- ..
235
- },
236
- TypeInfo::Alias { name, .. },
237
- ) => call_path.call_path.suffix != name.clone(),
+ (TypeInfo::Custom { .. }, TypeInfo::Alias { .. }) => false,
238
(TypeInfo::Custom { .. }, _) => true,
239
_ => false,
240
}
0 commit comments