Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Turn "with no arguments" to "without arguments"

  • Loading branch information...
commit 09336e3661a38d594112f8cb20b9c3ea0f28f59c 1 parent b0c90ed
lizmat lizmat authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Perl6/Optimizer.nqp
6 src/Perl6/Optimizer.nqp
View
@@ -655,10 +655,10 @@ class Perl6::Optimizer {
}
self.add_deadly($op,
($protoguilt ?? "Calling proto of '" !! "Calling '") ~
- $obj.name ~ "' will never work with " ~
+ $obj.name ~ "' will never work with" ~
(+@arg_names == 0 ??
- "no arguments" !!
- "argument types (" ~ join(', ', @arg_names) ~ ")"),
+ "out arguments" !!
+ " argument types (" ~ join(', ', @arg_names) ~ ")"),
$obj.is_dispatcher && !$protoguilt ??
multi_sig_list($obj) !!
[" Expected: " ~ try $obj.signature.perl ]);
Please sign in to comment.
Something went wrong with that request. Please try again.