-
-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change semantics of coercion types in multis.
Before, a "sub foo(Int() $x) { }" would act as a candidate taking Any for the purposes of the multi-dispatch candidate sort. Now, it gets two entries in the list that we sort: one Any, as before, and an extra one with Int.
- Loading branch information
Showing
1 changed file
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters