[SR-10785] A single line code makes compiler fail #53175
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
Environment
OS: macOS 10.14.5
Xcode: 10.2.1
Swift: 5.0.1
Additional Detail from JIRA
md5: 450b9b21145f78dc00ed0ceaf915f4c7
Issue Description:
This code makes compiler refused to compile and report
"The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions"
However such code
is accepted without any error.
The text was updated successfully, but these errors were encountered: