mirror of
https://github.com/apple/swift.git
synced 2026-02-27 18:26:24 +01:00
Lifetime indices are never necessary in Swift, they unnecessarily expose implementation details, and they make lifetime annotations more error-prone, since they may need to be updated if a function's parameter list changes. The Swift Syntax parser also cannot handle lifetime annotations where the target is an index. The main reason the C++ parser supports them is because it is also used for SIL.