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 97efa22 commit cca4ab2Copy full SHA for cca4ab2
sway-core/src/type_system/id.rs
@@ -284,13 +284,7 @@ impl TypeId {
284
},
285
TypeInfo::Struct(decl_ref),
286
) => call_path.call_path.suffix != decl_engine.get_struct(decl_ref).call_path.suffix,
287
- (
288
- TypeInfo::Custom {
289
- qualified_call_path: call_path,
290
- ..
291
- },
292
- TypeInfo::Alias { name, .. },
293
- ) => call_path.call_path.suffix != name.clone(),
+ (TypeInfo::Custom { .. }, TypeInfo::Alias { .. }) => false,
294
(TypeInfo::Custom { .. }, _) => true,
295
_ => false,
296
}
0 commit comments