Skip to content

Clause unreachable for integer return value rather than any #84

Open
@baldwindavid

Description

@baldwindavid

I'm testing out gradient on a baldwindavid/ex_waiter#3 and get an error that a clause cannot be reached when setting the return type as an integer on a function. It does work if the return type is any. The function and desired spec is commented out at... https://github.com/baldwindavid/ex_waiter/pull/3/files#diff-a502442c0bd637c012b9c3bd3788d431af95331497257e34e1a53bb8a5446f49R332

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions