Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Avoid variable name clash.

  • Loading branch information...
commit 72e52525409208cae7e7f3c37d0c336b0b42b6ab 1 parent 21d6178
Vasily Chekalkin bacek authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Deprecations.pm
4 Deprecations.pm
View
@@ -31,9 +31,9 @@ method check_file($file, $yaml) {
my $fh := pir::new('FileHandle');
$fh.open($file);
my $line := 1;
- while $fh.readline -> $line {
+ while $fh.readline -> $l {
for @regexes -> $regex {
- if $line ~~ $regex {
+ if $l ~~ / $regex / {
@deprecations.push("$line: $regex");
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.