Created
July 30, 2016 13:22
-
-
Save ufobat/5883b338aecb4ebf37b359bb759d6671 to your computer and use it in GitHub Desktop.
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
$promise.then({ | |
try { | |
my (Int() $status, List() $headers, Supply() $body) := $promise.result; | |
self.handle-inner($status, $headers, $body, $conn, :$ready, :$header-done, :$body-done); | |
# consume and discard the bytes in the iput stream, just in case the app | |
# didn't read from it. | |
%env<p6w.input>.tap if %env<p6w.input> ~~ Supply:D; | |
CATCH { | |
default { | |
say $promise.cause; | |
say $promise.cause.backtrace.full.Str; | |
} | |
} | |
} | |
}); | |
Cannot resolve caller say(Supplier: Str); none of these signatures match: | |
(Mu $: *%_) | |
in block at /home/martin/.workspace/p6/VoteImproved/../Smack/lib/HTTP/Server/Smack.pm6 (HTTP::Server::Smack) line 223 | |
in method throw at gen/moar/m-CORE.setting line 23051 | |
in method result at gen/moar/m-CORE.setting line 34148 | |
in block at /home/martin/.workspace/p6/VoteImproved/../Smack/lib/HTTP/Server/Smack.pm6 (HTTP::Server::Smack) line 223 | |
in block at /home/martin/.workspace/p6/VoteImproved/../Smack/lib/HTTP/Server/Smack.pm6 (HTTP::Server::Smack) line 222 | |
in block at gen/moar/m-CORE.setting line 34182 | |
in block at gen/moar/m-CORE.setting line 33973 | |
in block at gen/moar/m-CORE.setting line 33861 | |
in block at gen/moar/m-CORE.setting line 33854 | |
in block at gen/moar/m-CORE.setting line 33851 | |
in sub THREAD-ENTRY at gen/moar/m-CORE.setting line 33643 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment