-
-
Notifications
You must be signed in to change notification settings - Fork 372
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Streamline return value handling some more
Extract the handling of generic types to a new dispatcher "raku-rv-typecheck-generic", which puts a guard on the type and then delegates to "raku-rv-typecheck". Adapt "raku-rv-typecheck" not need to guard on type anymore. Removes the need for the additional "is_generic" argument to "raku-rv-typecheck", which saves a few bytes on each callsite. Document the "raku-rv-typecheck" and "raku-rv-typecheck-generic" dispatchers.
- Loading branch information
Showing
3 changed files
with
38 additions
and
22 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
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
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