Skip to content

"Maximum call stack size exceeded" when comparing relatively large sets (Fable 3) #2203

@Zaid-Ajaj

Description

@Zaid-Ajaj

Description

Comparing relatively large sets in Fable 3 throw an error "Maximum call stack size exceeded". This issue does not occur in current Fable 2.x

Repro code

testCase "Comparing large sets works" <| fun _ ->
    let largeSetA = Set.ofArray [| for i in 1 .. 80_000 -> i |]
    let largeSetB = Set.ofArray [| for i in 1 .. 80_000 -> i |]
    Expect.equal largeSetA largeSetB "The sets are equal"

Related information

  • Fable version: 3.0.0-nagareyama-alpha-009
  • Operating system: Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions