Permalink
Browse files

RT #77582, error message when method is not found on a Hash

  • Loading branch information...
1 parent 0093451 commit b428149cd0cda1d3371ef04ddcb0fc248c7e64d7 @moritz moritz committed Jan 3, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 S32-exceptions/misc.t
@@ -211,6 +211,9 @@ throws_like 'my class Priv { method x { self!foo } }; Priv.x',
method => '!foo',
typename => 'Priv',
private => { $_ === True };
+# RT #77582
+throws_like 'my %h; %h.nosuchmethods', X::Method::NotFound, typename => 'Hash';
+
throws_like '1.List::join', X::Method::InvalidQualifier,
method => 'join',
invocant => 1,

0 comments on commit b428149

Please sign in to comment.