We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
md5: 1cae1d1241f8af82feb6fd18d96e0fef
Issue Description:
Related forum thread.
For example this:
typealias Map = Dictionary
is a short hand form for:
typealias Map<K: Hashable, V> = Dictionary<K, V>
according to this forum post by @slavapestov.
But afaict there doesn't seem to be any mention of this in any documentation.
So I guess it should be documented in eg this section: https://docs.swift.org/swift-book/ReferenceManual/Declarations.html#ID361
And more generally, a lot of the behavior of type aliases, associated types and extensions is both undocumented and inconsistent/broken.
Properly documenting the intended behavior would certainly help not only us (new and seasoned) users but also the compiler devs.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Additional Detail from JIRA
md5: 1cae1d1241f8af82feb6fd18d96e0fef
Issue Description:
Related forum thread.
For example this:
is a short hand form for:
according to this forum post by @slavapestov.
But afaict there doesn't seem to be any mention of this in any documentation.
So I guess it should be documented in eg this section:
https://docs.swift.org/swift-book/ReferenceManual/Declarations.html#ID361
And more generally, a lot of the behavior of type aliases, associated types and extensions is both undocumented and inconsistent/broken.
Properly documenting the intended behavior would certainly help not only us (new and seasoned) users but also the compiler devs.
The text was updated successfully, but these errors were encountered: