Skip to content

PPI 1.281 chokes on simple code #308

@book

Description

@book

Here's how to reproduce:

$ perl -MPPI -E '
    say PPI->VERSION;
    PPI::Document->new( \q{use feature "signatures", "postderef"; 1;} )
      or do { die $@ };
'
1.281
unknown arg decompose type: , , PPI::Token::Operator at .../lib/perl5/PPI/Statement/Include.pm line 322.

Note that the error doesn't show up if the include statement is followed by anything non-significant.

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