[SR-1707] Compiling takes too long when summing arrays of Int #44316
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
performance
type checker
Area → compiler: Semantic analysis
Environment
iOS 9, XCode 7.3.1
Apple Swift version 2.2 (swiftlang-703.0.18.8 clang-703.0.31)
Target: x86_64-apple-macosx10.9
Additional Detail from JIRA
md5: 220ba8b6ff9d01bd6d02ecc5fd270d52
Issue Description:
Consider following example:
The compiler will make a error:
Expression was too complex to be solved in reasonable time; consider breaking up the expression into distinct sub-expressions
That is ok.
But, the following example:
The compiler will NOT make a error and the compiling time will silently take an about a minute.
The text was updated successfully, but these errors were encountered: