Skip to content

-write removes trailing newline from modified file #149

@sim642

Description

@sim642

Running reanalyze 389dd68 on Goblint goblint/analyzer@a544002 revealed the following.

When -write modifies a file to add dead code attributes, it removes the trailing newline from the file. Since all other code style is nicely preserved, it shouldn't be removing that.

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