[SR-3114] Overridden "initialize" method of NSObject-Subclass is not called in Release Mode with "Whole Module Optimization" #45702
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
optimized only
Flag: An issue whose reproduction requires optimized compilation
Attachment: Download
Environment
Xcode 8.1 GM
Additional Detail from JIRA
md5: 65dccff72c161b2e0a1279d16443afc9
Issue Description:
A subclass of NSObject overrides the static "initialize" method. This method isn't called when compiling in Release mode with "whole module optimization" turned on. Compiling in Debug mode, or switching to "Fast, Single-file optimization" enables the call.
The text was updated successfully, but these errors were encountered: