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++;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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