Skip to content

Commit

Permalink
Fix Raku deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dwarring committed Aug 25, 2024
1 parent 26ae4e1 commit 1ee6f8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/CSS/TagSet.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ role CSS::TagSet:ver<0.1.1> {
# Todo: load via CSS::Stylesheet?
my CSS::Module $module = CSS::Module::CSS3.module;
my $actions = $module.actions.new: |c;
my $p = $module.grammar.parsefile(.absolute, :$actions);
my $p = $module.grammar.parsefile(.IO.absolute, :$actions);
my %ast = $p.ast;

for %ast<stylesheet>.list {
Expand Down
2 changes: 1 addition & 1 deletion lib/CSS/TagSet/TaggedPDF.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class CSS::TagSet::TaggedPDF does CSS::TagSet {
}
}
default {
die "can't map attribute {.key} to {.value.raku}";
die "can't map attribute {$key} to {.raku}";
}
}
}
Expand Down

0 comments on commit 1ee6f8d

Please sign in to comment.