SMCKit icon indicating copy to clipboard operation
SMCKit copied to clipboard

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

Open beltex opened this issue 9 years ago • 2 comments

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.

beltex avatar Jun 23 '15 13:06 beltex

Yep, seen this on mine too...

perfaram avatar Jun 23 '15 19:06 perfaram

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.

beltex avatar Oct 04 '17 05:10 beltex