katana-code icon indicating copy to clipboard operation
katana-code copied to clipboard

ktn_dodger "fails" on unterminated strings even with no_fail on.

Open elbrujohalcon opened this issue 4 years ago • 0 comments

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

elbrujohalcon avatar Aug 30 '21 07:08 elbrujohalcon