mirror of
https://github.com/apple/swift.git
synced 2025-12-25 12:15:36 +01:00
This has three principal advantages: - It gives some additional type-safety when working with known accessors. - It makes it significantly easier to test whether a declaration is an accessor and encourages the use of a common idiom. - It saves a small amount of memory in both FuncDecl and its serialized form.
3.6 KiB
3.6 KiB