Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
RT #117425, fixes .perl for empty itemized Parcel
  • Loading branch information
FROGGS committed Nov 7, 2013
1 parent 1d15c6e commit d916dbe
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/core/Parcel.pm
Expand Up @@ -78,8 +78,14 @@ my class Parcel does Positional { # declared in BOOTSTRAP
else {
$perl = $perl ~ ',';
}
$perl ~ ')'
}
elsif nqp::iscont(SELF) {
$perl ~ ' )' # beause $() is about Matches...
}
else {
$perl ~ ')'
}
$perl ~ ')';
}

method STORE(|) {
Expand Down

0 comments on commit d916dbe

Please sign in to comment.