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

fun-type aliases in content of @spec? #6

Open
richcarl opened this issue Aug 6, 2011 · 0 comments
Open

fun-type aliases in content of @spec? #6

richcarl opened this issue Aug 6, 2011 · 0 comments

Comments

@richcarl
Copy link
Owner

richcarl commented Aug 6, 2011

Currently, one cannot write the following:

@type foo() = () -> ok
@spec foo()

since the text following a @SPEC must be a literal function type expression, not just a type name.

Maybe it could be useful to fix this (for repetetive function declarations which are all supposed to have the same type).

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