Skip to content

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

@elbrujohalcon

Description

@elbrujohalcon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions