nickva commented on issue #1190: Fix dialyzer warning for couch_att:from_disk_term URL: https://github.com/apache/couchdb/pull/1190#issuecomment-369755692 ``` src/couch_att.erl:181: Function new/0 has no local return src/couch_att.erl:188: Record construction #att{name::'undefined',type::'undefined',att_len::'undefined',disk_len::'undefined',md5::<<>>,revpos::0,data::'undefined',encoding::'identity'} violates the declared type of field name::binary() and type::binary() and att_len::non_neg_integer() and disk_len::non_neg_integer() and data::'follows' | 'stub' | binary() | fun(() -> binary()) | {_,_} | {'follows',pid(),reference()} src/couch_att.erl:192: Function new/1 has no local return src/couch_att.erl:408: Function from_json/2 has no local return src/couch_att.erl:422: Function stub_from_json/2 will never be called src/couch_att.erl:435: Function follow_from_json/2 will never be called src/couch_att.erl:445: Function inline_from_json/2 will never be called src/couch_att.erl:464: Function encoded_lengths_from_json/1 will never be called src/couch_att.erl:477: Function digest_from_json/1 will never be called ``` Looks good no from_disk_term errors
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
