mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Replace getAnyOptionalObjectType with getOptionalObjectType.
This commit is contained in:
@@ -1059,7 +1059,7 @@ static StringRef getTypeName(SDKContext &Ctx, Type Ty,
|
||||
}
|
||||
if (Ty->getAnyNominal()) {
|
||||
if (IsImplicitlyUnwrappedOptional) {
|
||||
assert(Ty->getAnyOptionalObjectType());
|
||||
assert(Ty->getOptionalObjectType());
|
||||
return StringRef("ImplicitlyUnwrappedOptional");
|
||||
}
|
||||
return Ty->getAnyNominal()->getNameStr();
|
||||
|
||||
Reference in New Issue
Block a user