[perl #65238] eval in a method doesn't use the namespace of the class in Rakudo

2009-05-01 Thread jn...@jnthn.net via RT
On Wed Apr 29 01:31:53 2009, masak wrote: > rakudo: class A { sub bar() { return 42 }; method foo() { say > bar; say eval("bar") } }; A.new.foo > rakudo 654500: OUTPUT«42␤␤» Now as of git 3262dd7 prints 42 twice; unfudged the test from moritz++ in t/spec/integration/packages.t also. Thanks, Jo

[perl #65238] eval in a method doesn't use the namespace of the class in Rakudo

2009-04-29 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #65238] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=65238 > rakudo: class A { sub bar() { return 42 }; method foo() { say bar; say eval("bar") } };