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 c37dc92 commit a0f2f2eCopy full SHA for a0f2f2e
sway-core/src/type_system/id.rs
@@ -208,13 +208,7 @@ impl TypeId {
208
},
209
TypeInfo::Struct(decl_ref),
210
) => call_path.call_path.suffix != decl_engine.get_struct(decl_ref).call_path.suffix,
211
- (
212
- TypeInfo::Custom {
213
- qualified_call_path: call_path,
214
- ..
215
- },
216
- TypeInfo::Alias { name, .. },
217
- ) => call_path.call_path.suffix != name.clone(),
+ (TypeInfo::Custom { .. }, TypeInfo::Alias { .. }) => false,
218
(TypeInfo::Custom { .. }, _) => true,
219
_ => false,
220
}
0 commit comments