Skip to content

[SR-5109] Expression Too Complex Regression #47685

@an0

Description

@an0
mannequin
Previous ID SR-5109
Radar None
Original Reporter @an0
Type Bug
Environment

Xcode 9M136h

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, 4.0Regression, TypeChecker
Assignee None
Priority Medium

md5: 21eb6257d8147c142c6940d072a0b7a4

Issue Description:

let a = 0
let b = 0
let c = 0

let d = 0
let e = 0
let f = 0

// error: expression was too complex to be solved in reasonable time; consider breaking up the expression into distinct sub-expressions
let diff = abs(d - a) + abs(e + b) + abs(f - c)

It was not Too Complex for Swift 3.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions