Skip to content

Instantly share code, notes, and snippets.

@jlouis
Created January 16, 2014 14:50
Show Gist options
  • Save jlouis/8456179 to your computer and use it in GitHub Desktop.
Save jlouis/8456179 to your computer and use it in GitHub Desktop.
A Dialyzer failure I have observed on R16B03 OSX 10.9
— To reproduce:
# Clone repository and force a specific version
; git clone https://github.com/jlouis/msgpack-erlang.git
; cd msgpack-erlang
; git checkout origin/dialyzer-failure
; make
; make build_plt # Takes about 2 minutes
; make dialyzer
@kostis
Copy link

kostis commented Jan 21, 2014

As seancribbs wrote, the culprit is that the type passed to msgpack:parse_options/1,2 is a list which includes the tuple {ext, Module::module()} but this tuple is not part ofmsgpack_list_options(). So either this type should be added to the definition, or taken out from the call.

But yes, dialyzer should not crash and this will be fixed (partial fix to be sent to erlang-bugs). Thanks for reporting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment