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


# Fails: get_string() not implemented in class 'P6Invocation'
class C { method M {} }; say C.new.can('M')

# ok
class C { method M {} }; say 'ok' if C.new.can('M')

---- log ---

23:32 <@jnthn> P6Invocation ain't meant to leak out
23:34 <@au|irc> so boolean context works, just not string
23:35 <@jnthn> *nod*
23:35 <@jnthn> Ah, I remember now...I didn't fix the "list of methods" return 
part of it 'cus lists were still in flux at that point.
23:35 <@jnthn> And didn't get to re-visit it since.
23:36 <@jnthn> ETOOMUCHTODO
23:36 <@au|irc> it's ok. *writes to rakudo...@perl.org*

Reply via email to