Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems if TypEr cannot guess the type of arguments #19

Open
EarlPitts opened this issue Oct 10, 2023 · 0 comments
Open

Problems if TypEr cannot guess the type of arguments #19

EarlPitts opened this issue Oct 10, 2023 · 0 comments

Comments

@EarlPitts
Copy link
Collaborator

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()"]}]
@EarlPitts EarlPitts added the bug Something isn't working label Oct 10, 2023
@EarlPitts EarlPitts removed the bug Something isn't working label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant