mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
We had some non-deterministic behavior where depending on validation order, synthesized accessors would end up in different places because we would sometimes just add them at the end of the member list. Now add the getter right after the storage, the setter right after the getter and the materializeForSet right after the setter. This changes some test output where the declaration order did not make sense before but should otherwise have no functional effect.
794 B
794 B