# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #60258]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60258 >


Rakudo r32247 does the wrong thing when matching a something against
the ".method" syntax.

$ perl6 -e 'class A { method alwaystrue { return 1 } }; given A.new {
say "irrelevant" ~~ .alwaystrue }'
0

According to the big matching table in S03, this should always print 1:

    Any       .foo      method truth            ?X       i.e. ?.foo

Reply via email to