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

Support type iodata() #51

Open
ypaq opened this issue Mar 12, 2016 · 0 comments
Open

Support type iodata() #51

ypaq opened this issue Mar 12, 2016 · 0 comments

Comments

@ypaq
Copy link

ypaq commented Mar 12, 2016

This simple module demonstrates the issue

-module(cuter_test).

-export([test/1]).

-spec test(iodata()) -> iodata().
test(Input) ->
    Input.

Running cuter gives the output:

$ cuter cuter_test test '["asdf"]' -v
Testing cuter_test:test/1 ...

WARNING: The spec of {cuter_test,test,1} uses the unsupported type iodata!
  It has been generalized to any().

cuter_test:test(asdf) ... ok

Solver Statistics ...
  - Solved models   : 0
  - Unsolved models : 0

No Runtime Errors Occured
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