Skip to content

inference failure #166

@tpapp

Description

@tpapp

I am not sure if this is to be expected, or reflects and underlying issue with Julia, and if there are any workarounds.

julia> VERSION
v"1.6.0-beta1.1"

julia> using ThreadsX, Test

julia> @inferred ThreadsX.mapreduce(identity, +, 1:3)
ERROR: return type Int64 does not match inferred return type Any

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions