Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #6 from DeadZen/dz-fix-dialyzer-fun-type

Fix Issue #4, #5 - Error while parsing #statebox{}: Unable to find type ...
  • Loading branch information...
commit 04b1fce73ff23f00fa686717324f838db58f2ba5 2 parents 0023998 + 8abfa71
@etrepum etrepum authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/statebox.erl
View
3  src/statebox.erl
@@ -25,7 +25,8 @@
-type timestamp() :: statebox_clock:timestamp().
-type timedelta() :: integer().
-type basic_op() :: {module(), atom(), [term()]} |
- {fun((...) -> statebox()), [term()]}.
+ {fun((term(), term()) -> statebox()) |
+ fun((term(), term(), term()) -> statebox()), [term()]}.
-type op() :: basic_op() | [op()].
-export_type([statebox/0, event/0, timestamp/0, timedelta/0, basic_op/0, op/0]).
Please sign in to comment.
Something went wrong with that request. Please try again.