Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-25 | Testcase expecting newline | Fredrik Gustafsson | |
2013-01-23 | Fixed merge issue | Fredrik Gustafsson | |
2013-01-23 | Merge branch 'sa/dialyzer-list-spec/OTP-10740' | Fredrik Gustafsson | |
* sa/dialyzer-list-spec/OTP-10740: Report spec discrepancy on mismatching lists Properly support functions with arbitrary arity in type specs. Conflicts: lib/dialyzer/test/small_SUITE_data/results/empty_list_infimum | |||
2013-01-23 | Report spec discrepancy on mismatching lists | Stavros Aronis | |
2012-12-20 | Report spec discrepancy on mismatching lists | Stavros Aronis | |
This patch enables Dialyzer to detect cases where a function has a specification for a return type containing some list with elements different than the ones Dialyzer's own algorithm can infer e.g. a function specified to return [atom()] when actually [[atom()]] is returned. Previously Dialyzer remained silent, under normal operation, seeing that these two types have the empty list as a common element, so they were not 'completely irrelevant'. |