Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add return type information to some ext/standard functions
Just the first few functions in basic_functions.c to get started. If anyone is interested in continuing this, PRs to add type info will be accepted against master, with the following caveats: * Return types only, we are not ready to add argument types yet. * Only for functions. For methods the addition of return types is BC breaking and needs to be carefully considered. * Only in cases where we can actually express the return type, we don't have int|false and similar.
- Loading branch information
Showing
1 changed file
with
13 additions
and
13 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
521a919
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@carusogabriel I remember that you were interested in this. Unfortunately we can only add return types for now, arguments will need more groundwork.
521a919
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nikic Thanks for the ping. Yes, I’m interested. May I continue with this work following the guide of this PR’s message? :D