mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
If the feature is enabled, base the requirement for the underscored accessors on the availability of the non-underscored accessors. If the (non-underscored) accessor's was available earlier than the feature, interpret that to mean that the underscored version was available in that earlier version, and require the underscored version. The goal is to ensure that the ABI is preserved, so long as the simplest migration is done (namely, deleting the underscores from the old accessors). For modify2, cache the required-ness in the same way that it is cached for modify.
418 KiB
418 KiB