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


<moritz> m: class A { submethod x() { say 42 } }; say A.^can("x").perl
<camelia> rakudo-moar 20d5ef: OUTPUT«()␤»
<moritz> is that correct?
<masak> m: class A { submethod x { say 42 } }; A.new.x
<camelia> rakudo-moar 20d5ef: OUTPUT«42␤»
<masak> moritz: I'd say "no", since you can call it.
<jnthn> Pretty sure that one has to be a bug.
<jnthn> I can easily imagine how it'd happen too :)
<jnthn> RT it; it's likely a very easy fix.
* masak RTs it

Reply via email to