We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
this spec: -spec module_map(state(), abstract_function()) -> fun((...) -> ok | {error,term()}).
-spec module_map(state(), abstract_function()) -> fun((...) -> ok | {error,term()}).
causes these errors:
Error: '{unhandled_abstract_form, {type,[{line,114},{column,55}, {text,"("}],any}}' while applying rule 'no_spec_with_records'. Error: '{unhandled_abstract_form, {type,[{line,114},{column,55}, {text,"("}],any}}' while applying rule 'state_record_and_type'.
it is a valid syntax for specs fun((...) -> means a fun of any arity returning a specific type.
fun((...) ->
Fun :: fun() %% any function | fun((...) -> Type) %% any arity, returning Type | fun(() -> Type) | fun((TList) -> Type)
The text was updated successfully, but these errors were encountered:
[#239] Updated katana dep to 0.2.7, add spec with fun((...) -> ok)
89ed9e7
33e3e9e
@rvangraan The master branch includes this fix, could you please confirm when you get the chance? This fix will be included in the next 0.2.5 release.
master
0.2.5
Sorry, something went wrong.
Thanks @jfacorro, I will give it a try.
jfacorro
No branches or pull requests
this spec:
-spec module_map(state(), abstract_function()) -> fun((...) -> ok | {error,term()}).
causes these errors:
it is a valid syntax for specs
fun((...) ->
means a fun of any arity returning a specific type.The text was updated successfully, but these errors were encountered: