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 765058e commit b5713e5Copy full SHA for b5713e5
lldb/source/Plugins/LanguageRuntime/Swift/SwiftLanguageRuntimeDynamicTypeResolution.cpp
@@ -3309,11 +3309,12 @@ SwiftLanguageRuntime::GetSwiftRuntimeTypeInfo(
3309
3310
// Resolve all type aliases.
3311
type = type.GetCanonicalType();
3312
- if (!type)
+ if (!type) {
3313
// FIXME: We could print a better error message if
3314
// GetCanonicalType() returned an Expected.
3315
return llvm::createStringError(
3316
"could not get canonical type (possibly due to unresolved typealias)");
3317
+}
3318
3319
// Resolve all generic type parameters in the type for the current
3320
// frame. Generic parameter binding has to happen in the scratch
0 commit comments