Permalink
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...
2 parents 0023998 + 8abfa71 commit 04b1fce73ff23f00fa686717324f838db58f2ba5 @etrepum etrepum committed Oct 24, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/statebox.erl
View
@@ -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]).

0 comments on commit 04b1fce

Please sign in to comment.