swift
2f58b7c5 - [Sema] Preserve type alias sugar when removing escaping

Commit
247 days ago
[Sema] Preserve type alias sugar when removing escaping This change fixes rdar://172417385 and #45125 by using transformRec to set no escape, instead of casting which drops sugar. This affects how interfaces are printed, and could theoretically cause issues with printing private aliases into public interfaces. Motivated by needing to be able to diagnose issues with attributes on aliases; without this change, the alias sugar is sometimes lost.
Author
Committer
Parents
Loading