# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #69350] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=69350 >
<masak> rakudo: sub foo { say "OH HAI" }; class A { method bar {} }; &A::bar = &foo; A.new.bar <p6eval> rakudo 0eaf62: OUTPUT«OH HAI» <jnthn> oh cunning <moritz_> ! <masak> monkey typing without the monkey. * Matt-W sees nothing wrong with that <masak> Matt-W: are you quite serious? <jnthn> I'm not sure it's wrong either. <Matt-W> yes <Matt-W> very serious <jnthn> Remember that while ~block is immutable, routine is mutable. <masak> good. just checking. <jnthn> I'm not sure if that's "mutable" in a sense that matters here <Matt-W> would you propose that you'd only be able to do that to things which explicitly say you could do that to them? <masak> then I propose we get rid of MONKEY_TYPING altogether. <masak> it's just a sham. <Matt-W> I don't see a reason for MONKEY_TYPING either <jnthn> but it's teh funny ;-) <moritz_> oh I'm sure it requires MONKEY_TYPING <masak> moritz_: apparently not. <moritz_> masak: I meant in an ideal Perl 6 * masak submits a rakudobug <jnthn> moritz_: I'm not sure how to efficeintly implement that semantic... <Matt-W> It either needs to be one way or the other <jnthn> oh, well, we'll think of a way ;-)