mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
7f0f8830cd
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.