From 89a395f43df33c46af151012280877ae1b62c462 Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Tue, 20 Mar 2018 12:05:13 +0000 Subject: Deparse.pm: handle postfix $r->$#* (\my @a)->$#* was being deparsed as $#{\my @a} which incorrectly reduced the scope of the lexical @a. Make Deparse.pm recognise this case and use the new postfix notation instead. This fixes ./TEST -deparse op/array.t which was using ->$#*. --- Porting/deparse-skips.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'Porting/deparse-skips.txt') diff --git a/Porting/deparse-skips.txt b/Porting/deparse-skips.txt index 44c1d14473..48ad07f7aa 100644 --- a/Porting/deparse-skips.txt +++ b/Porting/deparse-skips.txt @@ -41,7 +41,6 @@ mro/complex_c3_utf8.t mro/isarev.t mro/isarev_utf8.t op/attrhand.t # Custom attrs ignored; also AH provides none -op/array.t # \our(@a) incorrect paren; ->$#* not deparsed op/caller.t op/each.t # utf8ness of deparsed strings op/goto.t -- cgit v1.2.1