[SR-1963] @compatibility_alias should be imported as a typealias #44572
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
good first issue
Good for newcomers
Additional Detail from JIRA
md5: a4dd9cf7f99b41ceb03f8bffa9aa38a1
Issue Description:
Current behavior is to look through any '@compatibility_alias'es that are encoutered, but this means that it is impossible to express something like
The fix is to make the importer actually generate a `TypeAliasDecl` import rather than just returning nullptr. See lib/ClangImporter/ImportDecl.cpp.
The text was updated successfully, but these errors were encountered: