mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #63175 from artemcm/DeSugarArraysAndDictionariesWhenPrinting
[Compile Time Constant Extraction] Print desugared array, dictionary, optional types
This commit is contained in:
@@ -63,6 +63,9 @@ std::string toFullyQualifiedTypeNameString(const swift::Type &Type) {
|
||||
swift::PrintOptions Options;
|
||||
Options.FullyQualifiedTypes = true;
|
||||
Options.PreferTypeRepr = true;
|
||||
Options.AlwaysDesugarArraySliceTypes = true;
|
||||
Options.AlwaysDesugarDictionaryTypes = true;
|
||||
Options.AlwaysDesugarOptionalTypes = true;
|
||||
Type.print(OutputStream, Options);
|
||||
OutputStream.flush();
|
||||
return TypeNameOutput;
|
||||
|
||||
Reference in New Issue
Block a user