Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

typealias handling could be better #661

Open
stephen-hawley opened this issue Apr 21, 2021 · 0 comments
Open

typealias handling could be better #661

stephen-hawley opened this issue Apr 21, 2021 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@stephen-hawley
Copy link
Contributor

I've added the notion of type aliases into the the type database.
You can associate with a module a list of type aliases defined on types in the module. The only example of that (so far) is Foundation.NSRect which maps onto CoreGraphics.CGRect.

What needs to be done is:
go through the public Swift API and find all the type aliases
add them to the type database (right now, swiftCore.xml)

Optional:
Consider if we want more type database files than swiftCore.xml.
Organizing the type databases is less of an issue since every entry in type databases has a module name so they'll end up in the right place no matter what, but it might be nice to do the right thing and organize the elements where they belong.

@stephen-hawley stephen-hawley added the enhancement New feature or request label Apr 21, 2021
@stephen-hawley stephen-hawley added this to the Future milestone Apr 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant