Commit Graph

6 Commits

Author SHA1 Message Date
Harlan Haskins
f1b22b980b [test] Change stored-properties-client to an executable test (#21426)
This test was overfitting what it was trying to test, causing different
targets (and even different assert configurations) to fail to match.
Instead, make this an executable test and ensure that round-tripping
through setting and getting behaves as expected.

Fixes rdar://46486517
2019-05-02 19:02:41 -07:00
Harlan Haskins
e172c28aca [ParseableInterfaces] Stop replacing inaccessible properties with '_' (#23782)
Turns out this isn't correct, since SROA can explode these structs into
scalars in inlinable code.

Put the logic in place to effectively disable it, and document the steps
we need to take to make it work in the future.
2019-04-09 00:12:52 -07:00
Slava Pestov
1159af50d9 Rename -enable-resilience to -enable-library-evolution and make it a driver flag
Fixes <rdar://problem/47679085>.
2019-03-14 22:24:26 -04:00
Harlan Haskins
abbe6a8e84 [ParseableInterface] Don't print @_hasInitialValue for resilient variables 2018-12-18 10:43:49 -08:00
Harlan Haskins
7fe74b2b26 [ParseableInterface] Go through pattern binding for all variables with storage
Instead of only printing through the pattern binding, and potentially missing stored properties with property observers, defer to the pattern binding for all stored properties, and print accessors if applicable while printing pattern bindings.
2018-12-13 10:15:25 -08:00
Harlan Haskins
ea3e02b42c [ParseableInterface] Test accessor printing with @_hasStorage 2018-11-26 18:42:02 -08:00