# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #65238]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=65238 >
<masak> rakudo: class A { sub bar() { return 42 }; method foo() { say
bar; say eval("bar") } }; A.new.foo
<p6eval> rakudo 654500: OUTPUT«42»
<azawawi> moritz_: regarding http://nopaste.snit.ch/16441 ; std seems
to complain
<moritz_> masak: I think it should print 42 again
<masak> moritz_: do you know if it's reported?
<moritz_> masak: don't think so
* masak submits rakudobug, just in case
<masak> rakudo: sub bar() { return 12 }; class A { sub bar() { return
42 }; method foo() { say bar; say eval("bar") } }; A.new.foo
<p6eval> rakudo 654500: OUTPUT«4212»
<masak> for some reason the eval resets to the outer namespace.