erlfmt
erlfmt copied to clipboard
Improve error_info() type
erlfmt_scan
returns erl_anno:location()
in errors however erlfmt_parse
mostly returns full erlfmt_scan:anno()
maps. The errors from the parser also surface in the return value of erlfmt:read_nodes[_string]
I noticed this via dialyzer when calling erlfmt_parse directly.