Skip to content

Problems if TypEr cannot guess the type of arguments #19

Description

@EarlPitts

When I'm searching for the set of functions to test, I'm already taking advantage of the type signatures of the arguments.
But there are cases, when TypEr cannot infer the type of the arguments, and gives back any() instead.
E.g.:

f(I) ->
    I.

and

f(I) ->
    I + 1.

results in two different "functions"

[{"msg_test.erl",{msg_test,go,1},["number()"]}]
[{"msg_test.erl",{msg_test,go,1},["any()"]}]

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