Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Handle path -> abspath migration
  • Loading branch information
lizmat committed Nov 30, 2014
1 parent d8fe25a commit 31040e6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/CompUnit.pm
Expand Up @@ -52,6 +52,11 @@ class CompUnit {
multi method Str(CompUnit:D: --> Str) { $!abspath }
multi method gist(CompUnit:D: --> Str) { "$!name:$!abspath" }

method path(CompUnit:D:) {
DEPRECATED('abspath',|<2014.12 2015.12>);
$!abspath;
}

method key(CompUnit:D: --> Str) {
$!has-precomp ?? $!precomp-ext !! $!extension;
}
Expand Down

0 comments on commit 31040e6

Please sign in to comment.