mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The initial value expressions of stored properties in objcImpl classes were being incorrectly marked as serializable. As a result, the compiler would crash with a SIL verification failure if one of them called a non-public function or initializer. Fix this problem by not marking these initial value expression functions as serializable. Code in other modules should not call them anyway, since they think of the class as a pure ObjC class. Fixes rdar://114874429.
1.1 KiB
1.1 KiB