[SR-6903] Swift 3.2 very long compile time with nil coalescing #49452
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
performance
type checker
Area → compiler: Semantic analysis
Attachment: Download
Environment
MacBook Pro Core i7 2.9 GHz, 16 GB, Xcode 9.2 (9C40b)
Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2)
Target: x86_64-apple-macosx10.9
Swift Compiler - Language: SWIFT_VERSION set to 'Swift 3.2'
Additional Detail from JIRA
md5: e30045bb341aa225f42e4f2d13bb399d
Issue Description:
Swift is very long to compile this simple file (more than 40 seconds).
Passing to "Quick version" in the file (no ternary operator) makes the compilation immediate.
The text was updated successfully, but these errors were encountered: