Raku / old-issue-tracker

Tickets from RT
https://github.com/Raku/old-issue-tracker/issues
2 stars 1 forks source link

LTA error message when assigning to lexical variables from inside a regex in Rakudo #3328

Open p6rt opened 10 years ago

p6rt commented 10 years ago

Migrated from rt.perl.org#121166 (status was 'open')

Searchable as RT121166$

p6rt commented 10 years ago

From @masak

\ m​: my $x; 'abc' ~~ /$x=(ab)/; say $x \ rakudo-moar 44ab3c​: OUTPUT«===SORRY!===␤Error while compiling op bind​: QAST​::Block with cuid cuid_1_1391529188.76986 has not appeared␤» \ std​: my $x; 'abc' ~~ /$x=(ab)/; say $x \ std 09dda5b​: OUTPUT«ok 00​:01 127m␤» \ n​: my $x; 'abc' ~~ /$x=(ab)/; say $x \ niecza v24-109-g48a8de3​: OUTPUT«===SORRY!===␤␤Non-Match bindings NYI at /tmp/2rh2e31Bkj line 1​:␤------> my $x; 'abc' ~~ /$x=(ab)⏏/; say $x␤␤Unhandled exception​: Check failed [...] \ r​: my $x; 'abc' ~~ /$x=(ab)/; say $x \ rakudo-moar 44ab3c​: OUTPUT«===SORRY!===␤Error while compiling op bind​: QAST​::Block with cuid cuid_1_1391529311.00125 has not appeared␤» \ ..rakudo-jvm 44ab3c​: OUTPUT«===SORRY!===␤setcodeobj can only be used with a CodeRef␤» \ ..rakudo-parrot 44ab3c​: OUTPUT«===SORRY!===␤Could not find sub cuid_1_1391529308.45272␤» \ time for a LTA rakudobug? \ well, I believe it's specced to Just Work

Ok, so this ticket basically has two goals​:

* To make the error message not LTA * To make the feature Just Work

p6rt commented 6 years ago

From @AlexDaniel

Still reproducible (2017.11,HEAD(e5b660e)), almost identical error message.

On 2014-02-04 08​:01​:17, masak wrote​:

\ m​: my $x; 'abc' ~~ /$x=(ab)/; say $x \ rakudo-moar 44ab3c​: OUTPUT«===SORRY!===␤Error while compiling op bind​: QAST​::Block with cuid cuid_1_1391529188.76986 has not appeared␤» \ std​: my $x; 'abc' ~~ /$x=(ab)/; say $x \ std 09dda5b​: OUTPUT«ok 00​:01 127m␤» \ n​: my $x; 'abc' ~~ /$x=(ab)/; say $x \ niecza v24-109-g48a8de3​: OUTPUT«===SORRY!===␤␤Non-Match bindings NYI at /tmp/2rh2e31Bkj line 1​:␤------> my $x; 'abc' ~~ /$x=(ab)⏏/; say $x␤␤Unhandled exception​: Check failed [...] \ r​: my $x; 'abc' ~~ /$x=(ab)/; say $x \ rakudo-moar 44ab3c​: OUTPUT«===SORRY!===␤Error while compiling op bind​: QAST​::Block with cuid cuid_1_1391529311.00125 has not appeared␤» \ ..rakudo-jvm 44ab3c​: OUTPUT«===SORRY!===␤setcodeobj can only be used with a CodeRef␤» \ ..rakudo-parrot 44ab3c​: OUTPUT«===SORRY!===␤Could not find sub cuid_1_1391529308.45272␤» \ time for a LTA rakudobug? \ well, I believe it's specced to Just Work

Ok, so this ticket basically has two goals​:

* To make the error message not LTA * To make the feature Just Work

p6rt commented 6 years ago

The RT System itself - Status changed from 'new' to 'open'