Skip to content

Commit

Permalink
Merge pull request #3088 from vrurg/map-spectest-fix-for-3081
Browse files Browse the repository at this point in the history
Make Map method use Map class directly
  • Loading branch information
vrurg authored Jul 29, 2019
2 parents 9457aee + cb1fbf6 commit 1d52683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Any.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ my class Any { # declared in BOOTSTRAP
multi method Hash() { self.hash.Hash }

proto method Map(|) is nodal {*}
multi method Map() { self.hash.Map }
multi method Map() { Map.new(self) }

proto method elems(|) is nodal {*}
multi method elems(Any:U: --> 1) { }
Expand Down

0 comments on commit 1d52683

Please sign in to comment.