#371 Predeclared subroutines confuse folding

v0.4.x
open
nobody
Editor (234)
5
2007-02-16
2007-02-16
whusmann
No

Folding mechanism tries to fold subroutine predeclaration instead of the subroutine implementation (see attached screen shot and sample perl file)

#!/usr/bin/perl

use English;

sub mysub(\$);

my $n = 47;
mysub($n);
print "$n\n";

sub mysub(\$) {
my ($n_ref) = @ARG;
$$n_ref = 42;
}

(Setup: EPIC 0.4.27 -- Eclipse SDK 3.2.1 Build M20060921-0945 -- Mac OS X 10.4.8 Build 8L127)

Discussion

  • whusmann
    whusmann
    2007-02-16

    screen shot demonstrating confused folding mechanism

     
    Attachments