Skip to content

Commit

Permalink
Make sure that Date(now) works again
Browse files Browse the repository at this point in the history
Fixes R#3683
  • Loading branch information
lizmat committed May 12, 2020
1 parent 110324d commit 9dcbc5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.c/Dateish.pm6
Expand Up @@ -9,7 +9,7 @@ my role Dateish {
IO::Path.new(~self)
}

method CALL-ME(Dateish:U: Str:D $dateish) { self.new($dateish) }
method CALL-ME(Dateish:U: \dateish) { self.new(dateish) }

# this sub is also used by DAYS-IN-MONTH, which is used by other types
sub IS-LEAP-YEAR(int $y --> Bool:D) {
Expand Down

0 comments on commit 9dcbc5f

Please sign in to comment.