Skip Menu |
Report information
Id: 121166
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: masak <cmasak [at] gmail.com>
Cc:
AdminCc:

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)



From: Carl Mäsak <cmasak [...] gmail.com>
To: rakudobug [...] perl.org
Date: Tue, 4 Feb 2014 17:01:06 +0100
Subject: [BUG] LTA error message when assigning to lexical variables from inside a regex in Rakudo
Download (untitled) / with headers
text/plain 1.1k
<moritz> m: my $x; 'abc' ~~ /$x=(ab)/; say $x <camelia> rakudo-moar 44ab3c: OUTPUT«===SORRY!===␤Error while compiling op bind: QAST::Block with cuid cuid_1_1391529188.76986 has not appeared␤» <TimToady1> std: my $x; 'abc' ~~ /$x=(ab)/; say $x <camelia> std 09dda5b: OUTPUT«ok 00:01 127m␤» <TimToady1> n: my $x; 'abc' ~~ /$x=(ab)/; say $x <camelia> 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 [...] <TimToady1> r: my $x; 'abc' ~~ /$x=(ab)/; say $x <camelia> rakudo-moar 44ab3c: OUTPUT«===SORRY!===␤Error while compiling op bind: QAST::Block with cuid cuid_1_1391529311.00125 has not appeared␤» <camelia> ..rakudo-jvm 44ab3c: OUTPUT«===SORRY!===␤setcodeobj can only be used with a CodeRef␤» <camelia> ..rakudo-parrot 44ab3c: OUTPUT«===SORRY!===␤Could not find sub cuid_1_1391529308.45272␤» <masak> time for a LTA rakudobug? <TimToady1> 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
Still reproducible (2017.11,HEAD(e5b660e)), almost identical error message.

On 2014-02-04 08:01:17, masak wrote:
Show quoted text
> <moritz> m: my $x; 'abc' ~~ /$x=(ab)/; say $x
> <camelia> rakudo-moar 44ab3c: OUTPUT«===SORRY!===␤Error while
> compiling op bind: QAST::Block with cuid cuid_1_1391529188.76986 has
> not appeared␤»
> <TimToady1> std: my $x; 'abc' ~~ /$x=(ab)/; say $x
> <camelia> std 09dda5b: OUTPUT«ok 00:01 127m␤»
> <TimToady1> n: my $x; 'abc' ~~ /$x=(ab)/; say $x
> <camelia> 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 [...]
> <TimToady1> r: my $x; 'abc' ~~ /$x=(ab)/; say $x
> <camelia> rakudo-moar 44ab3c: OUTPUT«===SORRY!===␤Error while
> compiling op bind: QAST::Block with cuid cuid_1_1391529311.00125 has
> not appeared␤»
> <camelia> ..rakudo-jvm 44ab3c: OUTPUT«===SORRY!===␤setcodeobj can only
> be used with a CodeRef␤»
> <camelia> ..rakudo-parrot 44ab3c: OUTPUT«===SORRY!===␤Could not find
> sub cuid_1_1391529308.45272␤»
> <masak> time for a LTA rakudobug?
> <TimToady1> 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




This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org