Permalink
Browse files

Merge pull request #67 from niner/master

Replace "as Int" with proper coercion type to fix build
  • Loading branch information...
2 parents 7e6e252 + 826800b commit d86c1d0153c0d571dc3a45f89bfbf2aaf015cac5 @cosimo committed Dec 28, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/LWP/Simple.pm
View
@@ -204,7 +204,7 @@ method parse_chunks(Blob $b is rw, $sock) {
}
method make_request (
- RequestType $rt, $host, $port as Int, $path, %headers, $content?, :$ssl
+ RequestType $rt, $host, Int() $port, $path, %headers, $content?, :$ssl
) {
my $headers = self.stringify_headers(%headers);

0 comments on commit d86c1d0

Please sign in to comment.