# New Ticket Created by Moritz Lenz
# Please include the string: [perl #105186]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=105186 >
11:26 < moritz> nom: use MONKEY_TYPING; augment class Sub { method
my_invoke {
self() } }; &join.my_invoke
11:26 <+p6eval> nom b9aa5b: OUTPUT«===SORRY!===CHECK FAILED:Undefined
routine
'&self' called (line 1)»
11:27 < moritz> jnthn: that seems to be a false positive
11:46 < jnthn> moritz: Yes and no. If the optimizer is saying that, I bet it
actually fails at runtime too, rightly or wrongly.
11:47 < jnthn> ...and in a dwim sense, almost certainly wrongly :)
11:47 < moritz> nom: use MONKEY_TYPING; augment class Sub { method
my_invoke($self:) { $self() } }; &join.my_invoke
11:50 < moritz> hm, even with --optimize=0, the CHECK is done
11:50 < jnthn> --optimize=off
11:50 < jnthn> will completely disable it.
11:51 < jnthn> 0 means "don't transform anything"
11:51 < moritz> ah right, Could not find sub &self
11:51 < moritz> I now see what you mean.
11:52 < jnthn> :)
11:53 < jnthn> So, mis-compile rather than optimizer bug.
Thread Next