Skip to content

Trimmer.js crashes at IfStatements #22

Description

@dmholtz

If the consequent node of an IfStatement is null, the trimmer crashes.

Example (in case only line 1 is included in the slice and line 2 should be excluded):

if (x>0)
    x++;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions