[perl #76608] [BUG] Bogus redeclaration error when doing a declaration inside a $() in an interpolating string in Rakudo

2014-09-25 Thread Christian Bartolomaeus via RT
stmuk added a test for this recently: https://github.com/perl6/roast/commit/b4fc0fe9f11bb34e4442da7e1f945e8740d07c7c I moved the test from S02-names-var/76608.t to S02-literals/misc-interpolation.t (which is in 't/spectest.data'). The test passes on all rakudo backends.

[perl #76608] [BUG] Bogus redeclaration error when doing a declaration inside a $() in an interpolating string in Rakudo

2010-07-21 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #76608] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76608 > rakudo: "foo$(my $x = 42)bar"; say $x rakudo 3370f0: OUTPUT«===SORRY!===␤Redeclaration