mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
For @objc enums, raw values determine the representation values, so we have to compute them eagerly in order for switch statements to work. Similarly, if the enum is broken, we have to /fail/ eagerly so that we don't fall down later on in IRGen. rdar://problem/19775284 Swift SVN r25282