katana-code
katana-code copied to clipboard
ktn_dodger "fails" on unterminated strings even with no_fail on.
When running ktn_code:parse_file/3 with nofail on a file like this one…
-module(recipe_15).
-export([x/0]).
x() ->
"This is an unterminated string,
some:more(stuff).
…the result looks like this…
-module(recipe_15).
-export([x/0]).
** 6: unterminated string starting with "This is an unter" **
It should look more like…
-module(recipe_15).
-export([x/0]).
x() ->
"This is an unterminated string, some:more(stuff).
Related Ticket
https://github.com/AdRoll/rebar3_format/issues/279#issuecomment-908091014