-
-
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.
Type IO::Socket::INET family/type/protocol values
This changes the type of IO::Socket::INET.new's :$family parameter from Int to ProtocolFamily:D(Int:D) (removing their invalid Int:U typing) and gives the class' $!family/$!type/$!proto attributes explicit ProtocolFamily:D/SocketType:D/ProtocolType:D typings (meaning they no longer accept raw Int:D values corresponding to those types' enum values).
- Loading branch information
Showing
1 changed file
with
22 additions
and
40 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