[SR-14129] Simple expression fails to type check #56510
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Environment
Xcode 12.4
An engineer gave it to me and I pasted it onto a playground to reproduce the failure.
Additional Detail from JIRA
md5: 8b03f85517ea884cc6c8f61c1d9a8529
Issue Description:
let seconds: TimeInterval = (3*60*60) + (24*60) + 31
produces:
the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
The text was updated successfully, but these errors were encountered: