Closed kalkin closed 8 years ago
The subroutine signature Int :$version? does not allow for passing 1.1 or 1.2. Use a subset based on Numeric for the $version paramenter. This also reduces the code complexity and duplication.
Int :$version?
1.1
1.2
subset
Numeric
$version
@ugexe Thanks for the hint. I renamed the subset to ProtocolVersion.
ProtocolVersion
Thanks!
The subroutine signature
Int :$version?
does not allow for passing1.1
or1.2
. Use asubset
based onNumeric
for the$version
paramenter. This also reduces the code complexity and duplication.