# New Ticket Created by Elizabeth Mattijsen # Please include the string: [perl #118029] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118029 >
11:27:12] <lizmat> rn: my $s=Stash.new; say $s.WHAT [11:27:15] <+camelia> rakudo 570d1d: OUTPUT«(Hash)» [11:27:15] <+camelia> ..niecza v24-51-g009f999: OUTPUT«(Stash)» [11:27:34] <lizmat> this means I can't use Stash as a parameter constraint :-( [11:28:20] <lizmat> r: sub S (Stash $s) { say $s }; S(Stash.new) # rakudobug? [11:28:21] <+camelia> rakudo 570d1d: OUTPUT«Nominal type check failed for parameter '$s'; expected Stash but got Hash instead in sub S at /tmp/ep3aQw5kNa:1 in block at /tmp/ep3aQw5kNa:1» [11:28:45] <moritz> yes, Stash.new should produces a Stash, not a Hash [11:29:40] lizmat submist rakudobug