Created
January 16, 2014 14:50
-
-
Save jlouis/8456179 to your computer and use it in GitHub Desktop.
A Dialyzer failure I have observed on R16B03 OSX 10.9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
— 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.