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

failure to bind to pointy block param #3754

Open
p6rt opened this issue Mar 23, 2015 · 3 comments
Open

failure to bind to pointy block param #3754

p6rt opened this issue Mar 23, 2015 · 3 comments
Labels
LTA Less Than Awesome; typically an error message that could be better NYI Features not yet implemented

Comments

@p6rt
Copy link

p6rt commented Mar 23, 2015

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

Searchable as RT124161$

@p6rt
Copy link
Author

p6rt commented Mar 23, 2015

From @jdv

Hello,

Please see below.

-jdv

18​:04 < jdv79> m​: my @​a = 1; for @​a -> $a is rw { $a := 2; } # that
error isn't clear as to why; at
  least to me
18​:04 <+camelia> rakudo-moar 9b5d4e​: OUTPUT«===SORRY!=== Error while
compiling /tmp/QHdJhkWUo0?Cannot
  use bind operator with this left-hand side?at
/tmp/QHdJhkWUo0​:1?------> my @​a = 1; for
  @​a -> $a is rw { $a := 2?; } # that error isn't clear
as to why; ?»
18​:05 < pmichaud> jdv79​: good point... I don't know if the "error" here
is because it's disallowed in
  Perl 6 or because Rakudo doesn't know how to do it
yet.
18​:05 < pmichaud> I suspect the error message should read "We don't
know how to do this yet."

@p6rt
Copy link
Author

p6rt commented Dec 1, 2017

From @AlexDaniel

Still reproducible (2017.11, HEAD(5929887)).

Not sure if that's NYI or LTA. I'll mark as both.

On 2015-03-23 15​:12​:59, jdv79 wrote​:

Hello,

Please see below.

-jdv

18​:04 < jdv79> m​: my @​a = 1; for @​a -> $a is rw { $a := 2; } # that
error isn't clear as to why; at
least to me
18​:04 <+camelia> rakudo-moar 9b5d4e​: OUTPUT«===SORRY!=== Error while
compiling /tmp/QHdJhkWUo0?Cannot
use bind operator with this left-hand side?at
/tmp/QHdJhkWUo0​:1?------> my @​a = 1; for
@​a -> $a is rw { $a := 2?; } # that error isn't clear
as to why; ?»
18​:05 < pmichaud> jdv79​: good point... I don't know if the "error" here
is because it's disallowed in
Perl 6 or because Rakudo doesn't know how to do it
yet.
18​:05 < pmichaud> I suspect the error message should read "We don't
know how to do this yet."

@p6rt
Copy link
Author

p6rt commented Dec 1, 2017

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

@p6rt p6rt added LTA Less Than Awesome; typically an error message that could be better NYI Features not yet implemented labels Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTA Less Than Awesome; typically an error message that could be better NYI Features not yet implemented
Projects
None yet
Development

No branches or pull requests

1 participant