mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
fix printing for inout type with nullability
This commit is contained in:
@@ -85,7 +85,8 @@ public:
|
||||
os << knownTypeInfo->name;
|
||||
if (knownTypeInfo->canBeNullable) {
|
||||
printNullability(optionalKind);
|
||||
} else if (isInOutParam) {
|
||||
}
|
||||
if (isInOutParam) {
|
||||
os << (languageMode == swift::OutputLanguageMode::Cxx ? " &" : " *");
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user