beltex / SMCKit

Apple SMC library & tool
https://beltex.github.io/SMCKit
MIT License
475 stars 55 forks source link

Xcode 7 Beta 1: Compiler regression - "Expression was too complex..." #18

Open beltex opened 9 years ago

beltex commented 9 years ago

See test case 24890 in https://github.com/practicalswift/swift-compiler-crashes/pull/75/. This affected the SMC.encodeSMCKey() type method. The workaround was to break up the expression as the compiler suggested.

perfaram commented 9 years ago

Yep, seen this on mine too...

beltex commented 7 years ago

Still doesn't work in Xcode 8 or 9 😄 (Swift 3.1 or 3.2 and seems it needs to be broken up further to compile on Swift 4 from a quick test). Should file a ticket with the Swift folks, though it's likely known as I recall most of test cases from the swift-compiler-crashes project were imported into the main project repo as part of the test suite a while back.