project-fifo / fifo_spec

0 stars 2 forks source link

make it compile on OTP 17 #1

Open marianoguerra opened 10 years ago

marianoguerra commented 10 years ago

there's an error compiling with erlang R17, it's fixed with this change

diff --git a/src/fifo.erl b/src/fifo.erl
index fcc910d..f8eb406 100644
--- a/src/fifo.erl
+++ b/src/fifo.erl
@@ -87,7 +87,7 @@
          Alias :: binary(),
          Hypervisor :: hypervisor_id(),
          Log :: [log()],
-         Attributes :: dict()
+         Attributes :: dict:dict()
         }.

 -type permission() ::
Licenser commented 10 years ago

Hmm this breaks R16:

src/fifo.erl:127: referring to built-in type dict as a remote type; please take out the module name
ERROR: compile failed while processing /Users/heinz/Projects/fifo/core/fifo_spec: rebar_abort
make: *** [all] Error 1