Skip to content
Permalink
Browse files

Allow "returns" to not be specified

  • Loading branch information...
lizmat committed Jan 13, 2019
1 parent bf0dbbe commit 081b15ee9ebd19e044f8eaebdf7e71c69b8072ef
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Signature.pm6
@@ -17,7 +17,7 @@ my class Signature { # declared in BOOTSTRAP
nqp::create(self)!SET-SELF(@params, $returns, $arity, $count)
}

method !SET-SELF(@params, $returns, $arity, $count) {
method !SET-SELF(@params, Mu $returns, $arity, $count) {
nqp::bind(@!params,nqp::getattr(@params,List,'$!reified')),
$!returns := $returns;
$!arity = $arity;

0 comments on commit 081b15e

Please sign in to comment.
You can’t perform that action at this time.