Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
p6rt opened this issue Feb 4, 2014 · 3 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Feb 4, 2014

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

Searchable as RT121166$

@p6rt
Copy link
Author

p6rt commented Feb 4, 2014

From @masak

<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

@p6rt
Copy link
Author

p6rt commented Dec 3, 2017

From @AlexDaniel

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

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

<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

@p6rt
Copy link
Author

p6rt commented Dec 3, 2017

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

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant