Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Stop using deprecated .exists method.

  • Loading branch information...
commit 6b8fc4f77f799403c02c1c5f7495ae303abc9197 1 parent c901e44
@jnthn authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/Debugger/UI/CommandLine.pm
View
6 lib/Debugger/UI/CommandLine.pm
@@ -258,7 +258,7 @@ my class DebugState {
}
method normalize_filename($file) {
- if %sources.exists($file) {
+ if %sources{$file}:exists {
return $file;
}
else {
@@ -696,7 +696,7 @@ sub thrown(|) {
$fail = True;
last;
}
- if %sources.exists(.file) {
+ if %sources{.file}:exists {
$file = .file;
$line = .line;
last;
@@ -724,7 +724,7 @@ sub unhandled(|) {
my $ctx = CALLER;
my ($file, $line);
for @$bt {
- if %sources.exists(.file) {
+ if %sources{.file}:exists {
$file = .file;
$line = .line;
last;
Please sign in to comment.
Something went wrong with that request. Please try again.