Skip to content

Commit

Permalink
Remove some no longer needed CALL-MEs
Browse files Browse the repository at this point in the history
I'm not exactly sure as of when these aren't needed, but likely after
new-disp landed.
  • Loading branch information
MasterDuke17 committed Jan 5, 2022
1 parent b2f0a9d commit 25ca206
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/core.c/Dateish.pm6
Expand Up @@ -9,8 +9,6 @@ my role Dateish {
IO::Path.new(~self)
}

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) {
$y %% 4 and not $y %% 100 or $y %% 400
Expand Down
4 changes: 0 additions & 4 deletions src/core.c/List.pm6
Expand Up @@ -911,10 +911,6 @@ my class List does Iterable does Positional { # declared in BOOTSTRAP

multi method Supply(List:D: --> Supply:D) { Supply.from-list(self) }

method CALL-ME(List:U: |c) {
self.new(|c);
}

multi method is-lazy(List:D: --> Bool:D) {
nqp::if(
nqp::isconcrete($!todo),
Expand Down
1 change: 0 additions & 1 deletion src/core.c/Slip.pm6
Expand Up @@ -6,7 +6,6 @@ my class Slip { # is List
multi method defined (Slip:D: --> Bool:D) { self.Bool }

multi method Slip(Slip:D:) { self }
method CALL-ME (+args) { args.Slip }
multi method raku(Slip:D: --> Str:D) {
nqp::if(
nqp::eqaddr(self,Empty),
Expand Down

0 comments on commit 25ca206

Please sign in to comment.